Draw 1 frame only

i just want to draw one picture, no animation.
is this possible?

Hi dislo,

It is possible.
Just put all your code in the setup() function and nothing in the draw() one :slight_smile:

You can also call the noLoop() function to only call draw() once instead of 60 times per second.

More info here: https://p5js.org/reference/#/p5/noLoop

cool. thanks for the fast answers.