Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

p5: implement FrameRate() #40

Open
psampaz opened this issue Jan 17, 2021 · 0 comments
Open

p5: implement FrameRate() #40

psampaz opened this issue Jan 17, 2021 · 0 comments

Comments

@psampaz
Copy link
Contributor

psampaz commented Jan 17, 2021

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().

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant