Skip to content

five-on-it / apps/client/src/renderer/flames

apps/client/src/renderer/flames ​

Fire, low-poly: flames are flat-shaded shards (octahedra stretched upward) that rise off what burns, white-yellow at the root, then orange, red and a dark soot as they die, each swelling quickly and shrinking away, turning as it goes. They are one pool of particles (particles.ts) drawn as thin instances of one unlit mesh, a colour each. The main menu's burning car is the first thing that burns; a wreck in the game can burn the same way.

Interfaces ​

Functions ​