Kai-Gen

Takeshi Murata, Christopher Rutledge, J. Krispy · 2021 · Factory

A 3D-rendered cartoonish winged creature looms center frame, with a green and yellow body, spread magenta-and-green bat wings, bulging googly eyes, and a beak-like snout. It rises over a dim, sprawling low-poly cityscape beneath a hazy lavender and grey dusk sky. Playful yet eerie, with a kaiju-movie atmosphere.
Sample output of Kai-Gen
Sample output of Kai-Gen
Sample output of Kai-Gen

Woop Woop! Run for your life! Kai-Gen are attacking! Fresh from the underground and ready to smash your city, these mutant beasties come unique and fired up. No polygons or texture maps here, just sweet ray-marching magic living right on-chain. When you're ready, press the 2 key on your keyboard to bring them to life. But be forewarned, animated Kai-Gen are hungry AF and will eat old GPUs like jellybeans. A modern-day PC/Mac desktop is highly recommended, then hit that 2 key, if you think you can handle it... Key 1 = Still, Key 2 = Animated. Let's GOOOOO!

How it works

The core is raymarching of signed distance functions (SDFs). It restores a CSG tree of primitives — spheres, boxes, capsules, curves — assembled from compressed data, and joins them with minimum and maximum operations (jmin/jmax) and smooth combination (smin/smax) to define the form of a single monster (Kai-Gen) as a distance function. Using neither polygons nor textures, a GLSL fragment shader generated at runtime advances a ray step by step to find the surface and draw the solid. The hash decides the primitives' kinds, placement and combination methods, a mechanism that raises a different beast each time with raymarching alone.

Palette

From the generator script · 1
#000102
Extracted from outputs · 8
#696481#423a41#8e97b9#5c7712#95627b#e89499#379888#4291e0

Algorithms

Details

Tools
three.js
Runtimes
Browser (WebGL / GLSL), On-chain Deterministic
Movement
Long-form Generative Art
Medium
On-chain generative edition
Relations
released-on (2021-12) → art-blocks
Script hash
74b2ece0dc6458470bb782e0d80887d70d424b15b227214b17b42bf453b2a72f
On-chain
ethereum · 0xa7d8d9ef8d8ce8992df33d8b8cf4aebabd5bd270 · #227

View generator ↗ · Art Blocks ↗

Sources

Related works (by shared algorithms)

Autoscope
erik-swahn · 2024
Immaterial
bj-rn-staal · 2023
Cosmodesias
santiago · 2022
Gas Wars
jack-butcher · 2025
Bokeh (lamps)
mpkoz · 2024
Bokeh
mpkoz · 2024
Cytographia
golan-levin · 2024
Melancholic Magical Maiden
emi-kusano · 2024

Last updated 2026-07-16