Pixilab
Home › Companies › Show HN launch › Organic cell simulation with infinite zoom (100k cells, raw WebGL)

Organic cell simulation with infinite zoom (100k cells, raw WebGL)

Show HN: Organic cell simulation with infinite zoom (100k cells, raw WebGL)

Operating in show hn launch, Organic cell simulation with infinite zoom (100k cells, raw WebGL) operates.

Profile

Made this little cell simulation with an infinite zoom mechanic in raw WebGL. Renders up to 100k cells on my laptop (M1 MBA).It's a single HTML file, not minified, without dependencies, so you can just inspect the source code. It's just raw JS and WebGL shaders. No assets, everything is procedurally generated.For each cell, I draw a single quad using instanced rendering. To create a nice organic wobble, I use SDF (Signed Distance Fields) to draw a circle (or another base shape), which is then distorted by adjusting the radius using multiple overlapping sine waves. I explain this visually here. [1]To get the cells to stretch dynamically based on their velocity, I use a technique called Domain

The company sits in the show hn launch segment, where it competes on its core product or service.

It is recorded at the Show HN launch stage.

SectorShow HN launch
StageShow HN launch

Website: philomatics.com/cell-game-source

Browse related

Sign in to view the contact information we hold for Organic cell simulation with infinite zoom (100k cells, raw WebGL).
Create a free account