Canvas draw background

Hi there, I have an image(dots). I want to draw this img in canvas. Can u tell me pls, what I need to do for start??? Thanks in advance.

it should be animated, maybe there are some other options

Check out JS Processing, it’s easy to animate and make it interactive.

and for particle systems and oscillation topics, vectors, etc.

You can download editor here, make your code work, and then port it to p5js


thanks for your answer, did this with threejs