Produce values over time. When the modulate function is complete, the final
value continues to return. Timer starts when return function is first invoked.
constfn = (t) => { // 't' will be values 0..1 where 1 represents end of time period. // Return some computed value based on 't' returnt*Math.random(); } conste = Modulate.time(fn, 1000);
Produce values over time. When the modulate function is complete, the final value continues to return. Timer starts when return function is first invoked.