awesomeguy2323/keep-warm
Media & DesignA code-generated 20-second animated short with procedural character, fur, animation, lighting, sound and score, plus the full Blender pipeline.
What this is
Keep Warm is a 20-second animated short in which every asset is generated by code rather than hand-modelled: the penguin chick, its fur, rigs, animation, snow-and-aurora world, lighting, sound effects and the score. A written brief drove the production, with Blender 5.1 (Cycles) controlled entirely from Python, plus NumPy/SciPy, OpenCV, OpenColorIO and ffmpeg. The only external ingredient is a library of recorded orchestral notes used by the score credits.
The repository is both the finished film and the reusable procedural pipeline. Its modules separate concerns: geometry and SDF-based fur generation in geo.py, the character in chick.py, the world in world.py, animation tools in anim.py, shot-acting in film.py, a resumable renderer in render_final.py, and finishing in final.py and comp.py. Sound effects and score live in audio/score.py.
It suits technical artists and graphics programmers who want to study code-driven character work, fur, lighting or render-budget engineering — not users looking for a ready-made animation app.
Watch or run it
The finished 21-second film with sound is available as a 17 MB MP4 watch the film; stills show the story beats, e.g. the joy frame.
Running the pipeline requires macOS on Apple Silicon with Metal, Blender 5.1 at /Applications/Blender.app, Python 3.11, ffmpeg and about 10 GB of free disk. Other systems need changes to the device setup in src/bl.py and the Blender paths. The steps follow the original build but were not run start to finish from a fresh clone according to the README run it yourself:
python3.11 -m venv .venv
.venv/bin/pip install -r requirements.txt
mkdir -p build lookdev output
# Build the character and all six shots
zsh src/rebuild.sh 1 2 3 4 5 6
# Optional: clipping and foot-sliding audit
/Applications/Blender.app/Contents/MacOS/Blender -b --factory-startup -P src/audit.py -- 1 2 3 4 5 6
# Render (hours), then finish the frames
caffeinate -dims .venv/bin/python src/render_final.py
.venv/bin/python src/final.py renders/final renders/graded
.venv/bin/python src/qc.py
# Fetch orchestral samples (~500 MB) and build the soundtrack
cd audio && ../.venv/bin/python fetch.py && ../.venv/bin/python score.py && cd ..
# Mux picture and sound
ffmpeg -framerate 24 -i renders/graded/f_%04d.png -i audio/mix.wav \
-vf "scale=out_color_matrix=bt709:out_range=tv,format=yuv420p" \
-c:v libx264 -preset veryslow -crf 13 -tune grain \
-colorspace bt709 -color_primaries bt709 -color_trc bt709 -color_range tv \
-c:a aac -b:a 320k -movflags +faststart output/Keep_Warm.mp4
After building, src/audit.py reports geometric issues per frame instead of relying on visual previews, and audio/fetch.py downloads the versus orchestral note library from the VSCO 2 Community Edition (CC0) — the samples are not vendored VSCO 2 CE.
Constraints and known limits
- The pipeline is tied to macOS/Apple Silicon and Blender 5.1; porting requires editing
src/bl.pyand Blender executable paths. - The main render is a multi-hour job (about 2 h 37 min in the author's build), so lower sample counts and time budgets are pre-wired into the renderer rendering.
- Haze, glow and light rays are not path-traced volumetrics; subsurface scattering applies only to the star and nearby snow; frames were rendered at 34–70 samples per pixel and denoised, so fine fur is slightly soft.
- The audit covers body-vs-beak, flipper and star clipping, not fur, eyelids or snowflakes. The soundtrack was checked by meters and spectrograms, not by listening.
- Raw EXR renders embed the full project path, including the username, so review them before sharing.
- No license is declared for the repository code; the orchestral samples carry their own CC0 license.
HotRepo's take
The project was logged in the new-repositories list for Python on 2026-12-01, with 103 stars and 15 forks gained in the first growth window, and the README frames the film as a three-hour single-laptop render budget. That pairing — a finished short plus a reusable SDF/fur/render pipeline — makes it more useful as a procedural-graphics case study than as a hot trend; the code is worth reading module by module, especially the closed-form haze and emission-culling tricks that cut per-frame cost.
Written by AI from the project's public information and HotRepo's records, updated . The project's own docs are the source of truth.
You might also like
- mromidev/claude-animated-shortsClaude skill for rendering 55–70 second vertical animated story shorts with three.js and Remotion on your own machine.
- gokayfem/glsl-studiesA collection of 307 procedural GLSL ES 3.00 shader studies for WebGL2, covering materials, terrain, fur, and more.
- memoryoffish/film-director-skill-pluginA Claude Code skill and plugin that turns scripts into storyboards, Blender previz, generated shots and edited films.
- apekshik/anysceneBuilds photoreal Blender scenes, props, lighting and camera shots from a one-paragraph brief using AI agents and fal image-to-3D.
- vibe-motion/soundA Claude Code skill that searches Freesound, ranks sound candidates by download and rating signals, and downloads previews into a video project.