MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / activate

Method activate

modules/drivers/neostrand/neostrand.js:106–110  ·  view source on GitHub ↗
(effect)

Source from the content-addressed store, hash-verified

104 }
105
106 activate(effect) {
107//@ maybe add hueStart and hueEnd
108 effect.timeline.on(effect, { hue: [0, 1] }, effect.dur, null, 0);
109 effect.reset(effect);
110 }
111
112 set hue(h) {
113 for (let i=this.start; i<this.end; i++) {

Callers

nothing calls this directly

Calls 2

onMethod · 0.45
resetMethod · 0.45

Tested by

no test coverage detected