You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
According to processing https://processing.org/examples/noloop.htmlThe noLoop() function causes draw() to only execute once. Without calling noLoop(), the code inside draw() is run continually.,
In p5py no_loop() don't call the draw() function once
To Reproduce
from p5 import *
def setup():
background(255) # Set stroke color to white
no_loop()
def draw():
print('called draw')
if __name__ == '__main__':
run()
Current Behaviour
No output
Expected behavior
It should print called draw
System information:
p5 : cloned from github
The text was updated successfully, but these errors were encountered:
Describe the bug
According to processing https://processing.org/examples/noloop.html
The noLoop() function causes draw() to only execute once. Without calling noLoop(), the code inside draw() is run continually.
,In p5py no_loop() don't call the draw() function once
To Reproduce
Current Behaviour
No output
Expected behavior
It should print
called draw
System information:
The text was updated successfully, but these errors were encountered: