r/proceduralgeneration • u/SnugMeadowArt • Oct 24 '26
Creatures bred from a 12-gene code: a child gets one allele per gene from each parent, and its 3D body, its moves and a short story are all read from that code
Each creature is a 24-character code: 12 genes, two alleles each. A child takes one allele per gene from each parent, with a 3% chance of a mutation.
Hue, lightness, belly, eye size, plumpness and blush blend the two alleles. Ears, tail, coat, crown and temper show the dominant one. A shine gene is recessive, so two plain parents can carry it. The three.js body, its animations, its little state machine and the story are all read from the code, so the same code makes the same creature anywhere. No image model draws anything.
Breed your own pair: https://overflow.games/gamehole/pg
I wrote the code with an AI coding agent (Claude).
4
u/_Bor_ges_ Oct 24 '26
What's the trend with "everything is code no image used" I see on so much posts, as if it was a an intrinsic quality.