Skip to content

silvernio/particle-lenia

Repository files navigation

Particle Lenia

A variant of particle lenia that runs in the browser while using WebGPU to render gravity fields.

The particles become the field values, and growth functions are based entirely off comparing the particle distances to each other with the kernels.

The simulation itself has support for multiple channels and kernel rings of varying sizes.

To optimise performance, on both the CPU and GPU, the particles are placed into chunks.

UI Plan image

Other random plans image

About

A little simulation of particle lenia using typescript and webgpu

Topics

Resources

Stars

Watchers

Forks

Contributors