Skip to content

dag10/webslime

 
 

Repository files navigation

webslime

Real-time WebGL2 ferrofluid simulation on a procedural circuit board.

webslime

Live Demo

Drag to move the swarm. Arrow keys also work.

What is this?

An interactive simulation of cone-driven slime mold flowing over a procedurally generated PCB surface. Features include:

  • Gray-Scott reaction-diffusion patterns that evolve in real time
  • Shadow-mapped heightfield rendering with PBR materials
  • Procedural PCB terrain with chips, capacitors, pin arrays, and paint drops
  • Tilt-shift depth-of-field blur
  • GPU-accelerated flow field and thickness advection

Everything runs in a single HTML file with no dependencies -- just WebGL2.


Credit @cosmodernism

About

Real-time WebGL2 ferrofluid simulation on a procedural circuit board

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • HTML 98.9%
  • Other 1.1%