how to do the "no background() effect" of processing

i 'm new in OFs, but have some experience in processing.
Something i try to do, it’s to do the same thing in processing when you dont write a background at each frame, and what you draw at previous frame stay in screen.
I try to remove ofBackground, but by new frame erase my previous frame.
So how to keep what i did to my previous frame ?

Just add the following line in setup()


1 Like

Great, thanks.

And of course you can draw a fullscreen ofRect at the beginning of each draw() with a certain alpha value to vary the amount of ‘trailing’. This is the same approach as in Processing.

i did it with some particles, and have the effect i wished^^