How sapozhkov/ascii-lab-public works
ASCII Lab is a gallery of procedural ASCII animal-scene reels, their source code, and interactive models. The user-facing path is to open the gallery, choose a reel, and view its model; the Python renderers provide an internal path from scene simulation and geometry to rendered frames or video. The sampled code shows Jellyfish Heart’s composition flow and Shark Intercept’s motion/render dependencies. Clownfish is largely a single renderer. Source excerpts do not establish every web-page or model interaction, so those links are omitted or marked unverified.
Main entry points: index.html Reel gallery · duet.py Pair simulation · jellyfish.py Render commands · cutoff_render.py Reel renderer
Components 18
Gallery
- Reel gallery
index.html - Clownfish page
01-clownfish/index.html - Jellyfish page
02-jellyfish-heart/index.html - Shark page
03-shark-intercept/index.html
Clownfish reel
- Scene renderer
01-clownfish/clownfish.py - Interactive model
01-clownfish/model.html
Jellyfish reel
- Render commands
02-jellyfish-heart/jellyfish.py - Pair simulation
02-jellyfish-heart/source/duet.py - Bell geometry
02-jellyfish-heart/source/swimmer.py - Reef composition
02-jellyfish-heart/source/reef.py - Glyph projection
02-jellyfish-heart/source/renderer.py - Interactive model
02-jellyfish-heart/model.html
Shark reel
- Shoal motion
03-shark-intercept/source/proto/shark_studies/cutoff_motion.py - Swimmer dynamics
03-shark-intercept/source/proto/shark_studies/dive_pose.py - Reel renderer
03-shark-intercept/source/proto/shark_studies/cutoff_render.py - Reel identity
03-shark-intercept/source/proto/channel.py - Interactive model
03-shark-intercept/model.html
Other components
- Gallery visitor
Connections 18
- Gallery visitor → Reel gallery: opens
README.md - Reel gallery → Clownfish page: offers reel
README.md - Reel gallery → Jellyfish page: offers reel
README.md - Reel gallery → Shark page: offers reel
README.md - Clownfish page → Interactive model: model link
- Jellyfish page → Interactive model: model link
- Shark page → Interactive model: model link
- Render commands → Pair simulation: renders pair
02-jellyfish-heart/jellyfish.py - Render commands → Reef composition: builds scene
02-jellyfish-heart/jellyfish.py - Render commands → Glyph projection: uses frame rate
02-jellyfish-heart/jellyfish.py - Pair simulation → Bell geometry: uses geometry
02-jellyfish-heart/source/duet.py - Pair simulation → Glyph projection: projects scene
02-jellyfish-heart/source/duet.py - Reef composition → Pair simulation: uses path
02-jellyfish-heart/source/reef.py - Reef composition → Glyph projection: paints glyphs
02-jellyfish-heart/source/reef.py - Reel renderer → Shoal motion: simulates motion
03-shark-intercept/source/proto/shark_studies/cutoff_render.py - Reel renderer → Swimmer dynamics: uses pose
03-shark-intercept/source/proto/shark_studies/cutoff_render.py - Reel renderer → Reel identity: uses identity
03-shark-intercept/source/proto/shark_studies/cutoff_render.py - Shoal motion → Swimmer dynamics: steps swimmer
03-shark-intercept/source/proto/shark_studies/cutoff_motion.py