4 ms·
Here is a blog post about this demo – https://mattdesl.svbtle.com/generative-art-with-nodejs-and-canvas https://mattdesl.svbtle.com/generative-art-with-nodejs
by mattdesl 10y ago
Here is a blog post about this demo –
https://mattdesl.svbtle.com/generative-art-with-nodejs-and-canvas https://mattdesl.svbtle.com/generative-art-with-nodejs-and-c...
And source code –
https://github.com/mattdesl/color-wander https://github.com/mattdesl/color-wander
- vanderZwan 10y agoThanks for sharing! This implicitly answered my question about how you made the particles behave like they do: > The rendering algorithm is a re-hash of an old approach I detailed in a blog post, Generative Impressionism. Simplex noise is used to drive the particles, which are sometimes reset to a new random position. Each particle is rendered as a small line segment in the direction of its velocity. The scale of the noise is randomized so that some lines curl tightly, while others head straight. PS: The distortion map is a really neat trick by the way, I'm going to play with that in some next project!