-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Add a function to get the target frame rate #5762
Comments
Welcome! 👋 Thanks for opening your first issue here! And to ensure the community is able to respond to your issue, please make sure to fill out the inputs in the issue forms. Thank you! |
Hi @tapioca24, does the return value of |
Hi @limzykenneth, |
My team is working on this issue |
Increasing Access
I am developing a library for recording p5.js animations and this proposal is to improve it.
Many already use this library, and improving its usability should increase the number of sketches posted to Twitter, Instagram, etc., and thus more access to p5.js.
Most appropriate sub-area of p5.js?
Feature request details
I am developing a library to record p5.js animations.
In a recording library, it makes sense in many use cases to match the recording frame rate to the target frame rate in p5.js.
But it looks like the only way to get the target frame rate is to reference a variable called
_targetFrameRate
. And this is probably a private variable, not intended for user use. Libraries that depend on private variables in p5.js could suddenly stop working if p5.js is updated, which should be avoided if possible.It would be great if p5.js supported a function to get the target frame rate as a public API, such as
getTargetFrameRate()
.The text was updated successfully, but these errors were encountered: