Watch it with the Hindi and English script reading along, chapter by chapter, on its own website: abhijeeti.dev/ramayana.
Cinema · 2026 · built in an afternoon and an evening
Valmiki's Ramayana · रामायण
Films & video
A 22-minute film of Valmiki's Ramayana in Indian shadow puppets, from the first shloka to Brahma's blessing: all seven kandas, narrated in Hindi with English subtitles, every frame drawn by code.
- Built with
- Claude CodeElevenLabs Eleven v4ElevenLabs ScribeEleven MusicElevenLabs sound effectsHTML canvasPuppeteerPythonFFmpeg
- Time to build
- an afternoon and an evening
How it was made
- Step 1: Orchestration
Claude Code orchestrated everything: it wrote the script and all of the code, ran every tool below, and checked each asset before it went into the film.
- Step 2: Script
Claude Code wrote the 138 lines of Hindi narration and dialogue, following Valmiki's Ramayana, each with an English subtitle.
- Step 3: Narration and voices
ElevenLabs Eleven v4 recorded the narrator and the voices of Rama, Sita, Ravana and Hanuman.
- Step 4: Word timing
ElevenLabs Scribe transcribed every take with word-level timestamps, so each scene, sound and subtitle lands on the right word.
- Step 5: Puppets and sets
A shadow-puppet stage written in JavaScript draws every figure and set on an HTML canvas: translucent leather on rods, lit from behind by a flickering lamp.
- Step 6: Frames
Puppeteer drove headless Chrome to draw all 40,103 frames at 1920 by 1080, and FFmpeg encoded them to video.
- Step 7: Music
Eleven Music composed a score for each kanda, and Python and FFmpeg re-timed it to the final edit.
- Step 8: Sound effects
ElevenLabs sound effects made the arrows, conches, bells, fire and crowds, and Python placed each one on its cue word.
- Step 9: Subtitles
The English subtitles are drawn into the picture on the same canvas, timed from Scribe's word timings.
- Step 10: Mix and master
FFmpeg mixed the narration, music and effects, ducked the score under the voices and normalised the loudness.
- Step 11: Final film and thumbnail
FFmpeg joined the seven kandas into the 22:17 film, and the YouTube thumbnail was rendered from the film's stage with Puppeteer.

