npm.io
1.1.0 • Published 11 years ago

loop-grid-suppressor

Licence
ISC
Version
1.1.0
Deps
2
Vulns
0
Weekly
0
Stars
1

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.