Pick the right engine
p5-2d
Math art, kinetic type, particles, infographics, UI motion.
Math art, kinetic type, particles, infographics, UI motion.
p5-webgl
Stylised 3D: low-poly, toon, orbiting cameras. Runs in the p5 editor.
Stylised 3D: low-poly, toon, orbiting cameras. Runs in the p5 editor.
three-hybrid
PBR metal and glass, bloom, fog, glTF, 10k+ instances, p5 HUD layer.
PBR metal and glass, bloom, fog, glTF, 10k+ instances, p5 HUD layer.
67.js · Blender bpy
Realistic 3D: rigs, HDRI light, soft shadows, path tracing. Code only.
Realistic 3D: rigs, HDRI light, soft shadows, path tracing. Code only.
How it recreates a video
- Analyse: cuts, per-shot camera, palette, motion curve and object tracks become keyframes.
- Recover 3D: camera path (COLMAP), human pose (MediaPipe → BVH), depth for layout.
- Build: one function per shot, every value from a KF timeline, real CC/own assets.
- Render: headless frame stepping to closed-GOP MP4, chunk re-render per shot.
- Score and fix: compare.py rates each shot, the worst one gets fixed first.
Examples
Math art Short
coming soon
coming soon
Stylised 3D
coming soon
coming soon
PBR spin
coming soon
coming soon
Realistic 3D
coming soon
coming soon
Quick start
pip install numpy pillow opencv-python-headless npm i playwright && npx playwright install --with-deps chromium python3 tools/analyze.py ref.mp4 --out ana node tools/render.mjs templates/p5-2d --out test.mp4 bash templates/blender/render_blender.sh templates/blender/scene.py test3d.mp4 draft
Honest ceiling
| Category | How close |
|---|---|
| 2D motion graphics, math art, type, UI | Near 1:1 |
| Low-poly / toon 3D, PBR product spins | Near 1:1 |
| Realistic 3D scenes with assets + rig + HDRI | About 70–90% |
| Identical character copies, live action | Not from code |