-
Notifications
You must be signed in to change notification settings - Fork 120
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
Shapes inside setup() are not rendered #163
Comments
Shapes inside setup are drawn correctly if you remove size(100, 100) in setup() |
@parsoyaarihant @jeremydouglass , size() is not implemented correctly, I tried tracing the callbacks I can't find the place from where the callback is initiated, I only know it is called by In p5 where this call back to call |
The |
Yes, somehow the When size() is calledclear When the size() is not called:clear |
I am a little confused with clear and flush_geometry, can't figure out when exactly the output window is cleared because Attached the output files when size() is called and size() is not called along with their calling parent functions till the top layer, take a look |
@parsoyaarihant
Can you recheck the calls you mentioned above, these were the calls I got for the demo code above. I think the problem is possibly due to how |
The shapes called inside the setup() are not rendered on the canvas.
To Reproduce
Expected behavior


The rectangle should be rendered on the canvas (output from p5py)
Output from p5py
The text was updated successfully, but these errors were encountered: