hunar4321 / particle-life

A simple program to simulate artificial life using attraction/reuplsion forces between many particles
MIT License
3.01k stars 298 forks source link

webgl version #62

Closed CapsAdmin closed 2 years ago

CapsAdmin commented 2 years ago

This project inspired me to create a general but high performant sandbox for 2d particle simulations! The simulation is done on the GPU so it's a lot faster.

https://capsadmin.github.io/webgl-particles/

Click the hamburger icon in the top left corner and select particle life from the dropdown menu.

It's not 100% the same, but I included the ability to use javascript code in the CONFIG block that generates the rules similar to how you do it.

Source code can be found here: https://github.com/CapsAdmin/webgl-particles

CapsAdmin commented 2 years ago

I didn't notice there's a discussion tab.. I'll close this "issue" and post there.