An open API service indexing awesome lists of open source software.

https://github.com/zong4/particlelife


https://github.com/zong4/particlelife

Last synced: about 1 year ago
JSON representation

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