3 ms·
Here’s the code: https://github.com/Soham-Saha/Soham-Saha.github.io/tree/main/ProceduralArt/Tangled https://github.com/Soham-Saha/Soham-Saha.github.io/tree/main
by omegacombinator 2y ago
Here’s the code: https://github.com/Soham-Saha/Soham-Saha.github.io/tree/main/ProceduralArt/Tangled https://github.com/Soham-Saha/Soham-Saha.github.io/tree/main...
Initially, there are many particles, organised in a circle.
Each particle chooses another at random as its ‘target’. Each particle moves towards its target at every frame, and the more distant the target, the faster it will go.