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.
https://p5js.org/

and for particle systems and oscillation topics, vectors, etc.
http://natureofcode.com/book/

You can download editor here, make your code work, and then port it to p5js
https://processing.org/download/

2 Likes

thanks for your answer, did this with threejs