New
Apps 6,388Makers 6,367This week 13
Promote your app−30%
0views in
the last 30 days

ML Videos

Tiny neural networks trained live and rendered as watchable videos

Built with Claude Code

by drix10 · Unclaimed · from INIndia · added Nov 3, 2026
no ratings0 comments

ml-videos

A vibe coded lab for machine-learning videos.
Small brains, visible struggle, big learning curves — real training runs rendered as watchable videos.

github.com/Drix10/ml-videos · drix10.com

The Idea

The best ML videos share one shape: you watch something dumb become something smart. A school of fish that can't dodge, then can't be touched. A creature that flails, then walks. The learning curve is the content.

This repo exists to manufacture that shape for real — not animations pretending to learn, but actual training runs with real brains, where the video is the honest output of the science:

pick a struggle -> build the smallest brain that can learn it
  -> train it on camera (logs + checkpoints) -> replay the learning as video

Every project here follows that pipeline. Same discipline, different worlds.

The Formula

Each project is a self-contained folder that obeys five rules:

  1. One visible struggle. A predator and prey, a maze, a race — something a viewer grasps in three seconds.
  2. The tiniest brain that can learn it. Single-digit hidden units, shared across agents. If the brain is big, the video is boring; the struggle must live in the learning, not the parameters.
  3. Stages the eye can see. Senses, obstacles, or opponents added level by level, so episode N of the video looks dumber than episode N+1. Checkpoints saved per stage.
  4. Training and rendering stay separate. Headless trainer writes logs + checkpoints; a replay mode renders saved brains cinematically. One run produces both the science and the story.
  5. Nothing is faked. Fixed evaluation seeds, honest death counts, no scripted behavior. If the brain didn't learn it, the video doesn't show it.

Projects

Project Struggle Brain Status
night_hunt An owl hunts 32 mice sharing one evolving brain; six senses from blind to full 9-unit MLP, genetic algorithm Done: trained, 50s video rendered (night_hunt.mp4)

Future projects take the same shape in new worlds — anything in this spirit: foragers learning a map, racers learning a track, a swarm learning formation. If it can be learned by a tiny brain and seen being learned, it belongs here.

How a New Project Gets Made

1. Name the struggle in one sentence a viewer understands.
2. Fix the physics first, then never touch it again mid-project.
3. Design the curriculum: what does the final brain know that the first one doesn't?
4. Build the smallest brain + the fastest headless trainer that can teach it.
5. Add failsafes so training ends on its own: plateau gates, rescue shakes, survivor-denominated bars.
6. Train once, fully. Watch the numbers, not the screen.
7. Pick the takes, then render the video straight to mp4 (offscreen, no screen recording).

Steps 1–3 decide whether the video works. Steps 4–5 decide whether training finishes. Steps 6–7 are patience plus ffmpeg.

Try the Current One

cd night_hunt
python -m pip install -r requirements.txt
python main.py showcase    # watch the finished video live (no training needed)
python main.py video       # render it to a 1080x1920 mp4 (needs ffmpeg)
python main.py             # retrain from scratch (headless, takes hours)

Full console guide, failsafes, and tuning live in night_hunt/README.md.

Repository Map

Path Role
night_hunt/ Project 01: owl vs 32 mice, shared evolving brain, six senses
night_hunt/README.md That project's deep dive
night_hunt/takes/ The six trained brains the video replays (tracked, so clones render the exact video)
future folders One folder per video, each obeying the formula above

License

All original code in this repository is MIT Licensed. Built for transparent experimentation and learning.


Built by Drishtant Ghosh (Drix10) · AI systems engineer and 1x acquired founder, Bengaluru

Portfolio · LinkedIn · X · Blog · All projects

More from Drix10: Agent Flow (guardrails for AI coding agents) · MiroHedge (AI-assisted systematic fund) · Guardian (UPI scam interceptor) · Sentinel (AI security CLI) · Keystroke-LLM (NumPy transformer on a keyboard) · AI Resources (daily AI knowledge base)

Description taken from the repository README.

Ratings

–
0 ratings
5 0
4 0
3 0
2 0
1 0

Rate this app

Sign in to rate

Comments 0

Sign in to comment

No comments yet.

Related apps

#machine-learning · #visualization · #education