Skip to content

ath92/particle-life

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebGL particle life

This project aims to run particle life (many implementations exist, https://ventrella.com/Clusters/ appears to be the first) in the browser by doing as much as possible on the GPU. In practice, this means that all computations are done in fragment shaders, and that all state for the simulation is kept in textures. This means we can have way more particles!

Demo: https://webgl-particle-life.netlify.app/

Note: this project uses some less supported webgl features, so it may not work for you. If that's the case, feel free to open an issue on github with any errors you're seeing.

Here's a screen recording:

output.mp4

About

attempt at gpu-accelerated particle life

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published