1.1.0 • Published 10 years ago

loop-grid-suppressor v1.1.0

Weekly downloads
4
License
ISC
Repository
github
Last release
10 years ago

loop-grid-suppressor

Transform for suppressing selected loops on loop-grid.

API

var Suppressor = require('loop-grid-suppressor')

var suppressor = Suppressor(transform, shape[, stride])

Pass loopGrid.transform to this constructor.

Returns an extended observ instance containing instances of array-grid with true values at coords where currently suppressed.

suppressor.start(indexes, done)

Calls transform with a function that suppresses all indexes specified.

suppressor.stop()

Release suppression transform.