p5
p5 copied to clipboard
p5: implement FrameRate()
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().