Increasing access
In p5.js, millis() returns the number of milliseconds since the sketch started running. This feature request proposes adding millis() support in p5.strands in the same way we currently handle functions like noise().
Most appropriate sub-area of p5.js?
Feature request details
When p5.strands is active, p5.js functions such as noise() are routed to a strands-specific implementation. Similarly, while strands is active, calling millis() should return a strand node instead of an immediate numeric value, so it can be composed inside the strands graph.
Increasing access
In p5.js,
millis()returns the number of milliseconds since the sketch started running. This feature request proposes addingmillis()support in p5.strands in the same way we currently handle functions like noise().Most appropriate sub-area of p5.js?
Feature request details
When p5.strands is active, p5.js functions such as
noise()are routed to a strands-specific implementation. Similarly, while strands is active, callingmillis()should return a strand node instead of an immediate numeric value, so it can be composed inside the strands graph.