A particle system capable of creating beautiful patterns due to the usage of symmetry.
Check out the live demo here
WARNING: The link might not work when opened for the first time, simply reload the page and it should load correctly.
- Start with pressing
r
to generate a filled circle of particles - As they smoothly spread, press
x
to generate a powerful explosion in the middle of the screen - As particles hit the walls, press and hold
c
to start dragging them towards the middle of the screen - This should already create a beautiful imagery. Try playing with
x
andc
more and different shapes will start emerging - Try pressing
r
followed by a number from 1 to 9 to create invisible "gravitational" enities that the particles will be attracted to - Follow this by pressing
x
repeatedly with some intervals to combat the gravitational force, this should create even cooler patterns - You can find more hotkeys in the cheatsheet section of the demo
- You can also configure various parameters using the config menu in the top right corner and take screenshots or load a background image using the buttons in the bottom right.
- WebGL: For rendering lots of particles with high performance.
- WebAssembly (WASM): For physics calculations.
Optimisation tips are more than welcome!