I am very new to threeJs and I’ve set myself a challenge to find a way to re-create a photo by progressively drawing shapes on canvas for a pointillism effect.
I’ve done this before in processing but I can’t find an easy way in threeJs to keep drawing on the canvas without it being cleared on every frame. I imagine drawing on the same buffer is way more efficient than keep adding thousands of shapes into the scene.
I tried to repurpose this examples or recreate this without much luck, probably because I am still trying to figure out the general process.
Do you have any pointers, or have you maybe come across any other examples that may be useful for what I am after?
Mind it will not work if the scene had any background (background would serve as a clear-color), so you can do 3D rendering on a transparent canvas and add a background using CSS.