p5 icon indicating copy to clipboard operation
p5 copied to clipboard

p5: implement FrameRate()

Open psampaz opened this issue 4 years ago • 0 comments

https://p5js.org/reference/#/p5/frameRate

Currently the is no way to override the default ticker, so there is no way to change the frame rate.

One solution would be to reset the ticker using https://golang.org/pkg/time/#Ticker.Reset whenever there is an update to Proc.ctl.FrameRate().

psampaz avatar Jan 17 '21 16:01 psampaz