655 MB
6,018 files
Updated 8 days ago
Ctrl+K
| Name | Size | Uploaded | Xet hash |
|---|---|---|---|
| audio | 2 items | ||
| components | 2 items | ||
| lib | 1 items | ||
| manim | 3 items | ||
| node_modules | 5,996 items | ||
| scenes | 6 items | ||
| Kaprekar.tsx | 1.53 kB xet | 9d488061 | |
| README.md | 1.85 kB xet | 21e55fef | |
| Root.tsx | 269 Bytes xet | 06194ab7 | |
| aarav.mp4 | 59.5 MB xet | d24b1431 | |
| captions.ts | 1.41 kB xet | 2e6a4ae3 | |
| index.ts | 92 Bytes xet | dd82ec71 | |
| jobs.json | 67 Bytes xet | 2285faec | |
| theme.ts | 721 Bytes xet | d220ac88 |
6174 — Kaprekar's constant (vertical short)
A 54-second, 1080×1920 / 30 fps motion-graphic math short built with Remotion, with a Manim-rendered spacetime-grid layer and a fully synthesized soundtrack.
What's here
| Path | Purpose |
|---|---|
src/Kaprekar.tsx |
composition: six scenes, backdrop, captions, audio |
src/scenes/ |
Hook · Rule · Cascade · Funnel · Proof · Loop |
src/captions.ts |
caption cues, frame-locked to the edit |
scripts/gen_audio.py |
procedural score + SFX (drone, heartbeat, ticks, riser, drops) |
scripts/gen_voice.py |
optional ElevenLabs VO with word timestamps |
manim/warp_grid.py |
ManimGL gravity-well grid (composited in the funnel) |
out/ |
renders, stills, publish kit |
Render
python3 scripts/gen_audio.py
# two-pass loudness target: -14 LUFS / -1.5 dBTP
ffmpeg -y -i public/audio/soundtrack_raw.wav \
-af "loudnorm=I=-14:TP=-1.5:LRA=11" public/audio/soundtrack.wav
# manim layer (already bundled at public/manim/warp.mp4); rebuild with:
# PYTHONPATH=/root/manim xvfb-run -a python3 -m manimlib manim/warp_grid.py WarpGrid \
# -w -r 720x1280 --fps 30 --video_dir out/manim && cp out/manim/WarpGrid.mp4 public/manim/warp.mp4
bash scripts/render.sh 6
Output: out/kaprekar-6174.mp4 (H.264, AAC 256k, faststart, −14 LUFS).
Math (verified by brute force over 0000–9999)
- 9,990 numbers reach 6174; the 10 repdigits (0000, 1111 … 9999) are the only exceptions.
- Max path: 7 steps.
- Distribution: 383 / 576 / 2,400 / 1,272 / 1,518 / 1,656 / 2,184 for 1–7 steps.
Voiceover
scripts/gen_voice.py needs a valid ELEVENLABS_API_KEY (51 chars). The key found on this
machine is 49 chars and is rejected by the API, so this cut ships with captions + score.
Add a valid key, run the script, then unmute/re-time captions and re-render.
- Total size
- 655 MB
- Files
- 6,018
- Last updated
- Nov 7
- Pre-warmed CDN
- US EU US EU