In this project, I have created a flow field using Perlin Noise in p5.js. The entire canvas is divided into a grid and each cross-section of the grid contains a vector (direction). I have used a constructor function to create a particle to follow the vector. This shows a pattern on the screen.
I have used a constructor function for generating the particles.