https://github.com/zong4/particlelife
https://github.com/zong4/particlelife
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/zong4/particlelife
- Owner: zong4
- License: mit
- Created: 2025-05-14T06:33:17.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-14T06:53:55.000Z (about 1 year ago)
- Last Synced: 2025-05-14T07:48:49.079Z (about 1 year ago)
- Language: C#
- Size: 35.2 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ParticleLife
A particle simulation sandbox where particles interact according to customizable rules. Design your own attraction matrix, spawn colorful particles, and watch emergent behavior unfold.
## Basic Procedure
1. Click `Select area` to draw a boundary.
2. Click `Spawn` to create particles in the selected region.
3. Click `Pause`(or press `Space`) to switch into `Simulation` state.
4. Try to adjust parameters to generate a variety of stunning visuals..
## Controls
### UI Controls
`M`: Toggle menu
`Escape`: Close the color picker
### Camera Controls
`W`, `A`, `S`, `D`: Move the camera
`Mouse scroll`: Zoom in/out
### Simulation Controller
`Space`: Pause/resume the simulation
`R`: Clear all particles
`B`: Enter or exit boundary selection mode
`<`: Decrease force magnitude
`>`: Increase force magnitude
## Todos
- [ ] Store settings to local storage
- [ ] Improved UI and extended customization
- [ ] 3D particle support