ThreeSource

Interactive game

Indigo Veil

A blue-and-white ink action slice: cut through simulated fog, turn into tiger, crane or carp, and bring down a giant

An action slice painted in indigo ink on porcelain-white paper. The fog is a real-time 3D fluid simulation on WebGPU - a staggered-grid incompressible solver with a multigrid pressure solve, in a box that follows you - and every blade stroke, body and blast pushes it aside. A masked swordsman with a white headband and a curved blade walks a valley of bamboo and cinnabar grass, links a three-cut combo, parries, rolls, and spends the ink gauge to change into a tiger, a crane or a carp. Four horned ink shadows, then the clearing behind a curtain of fog stands empty - until a horned blue oni falls out of the sky in a burst of ink and rises to fight, with a long health stroke and a finishing move by one of the three beasts. All smoke, sounds and figures are generated in code; one HTML file.
  • Built withthree.js WebGPU, TSL, WGSL compute, Multigrid solver, Web Audio
  • Page weight1.0 MB
  • Source download366 KB
  • AssetsGenerated in code
webgpufluid simulationinkgameproceduralactionshader
Unlock everything — from $149/yr

27 files · commercial license · lifetime updates for this effect