Code-driven Remotion animation templates for previewing and rendering in Remotion Studio.
Double-click start.bat in the project root to check the installed Remotion packages, update them when a newer version is available, and start Remotion Studio. If the update fails, the script reports the failure and starts with the packages already installed. The console shows startup logs and stays open while Studio is running. Press Ctrl+C in that console to stop Studio.
The update check covers the Remotion packages used by the project. Other dependencies stay at the versions recorded in package.json and package-lock.json.
To start Studio from a terminal instead:
npm install
npm run devRender a bundle with npm run build. Run npm run verify:upstream for lint, type checking, and a still render of each registered composition.
Double-click push.bat in the project root to commit every change in the working tree and push it. The script (push.ps1) asks three questions:
- Branch: it lists the remote branches. Enter a number, or type a new branch name. Press Enter to use the remote's default branch.
- Description: the commit message. Press Enter to commit without a message.
- Tag: an annotated tag name. Press Enter to skip tagging.
If the chosen branch is not the current one, the script carries the uncommitted changes over to it and commits only the files that had changes before the switch, so files ignored on the current branch (such as src/earth3d/assets/) are not picked up by a different .gitignore. It refuses to commit any single file over 50 MB. Pushes go over HTTPS first and fall back to SSH. When the Git LFS pre-push check cannot reach GitHub, the script skips that check only if the outgoing commits add no LFS files. It never force-pushes: if the remote branch has commits that are not local, it stops and keeps the local commit.
src/Root.tsxregisters the compositions shown in Studio.src/templates/contains reusable 2D, 3D, map, and historical animation components.engine/centralizes offline data building, validation, resource scanning, dependency updates, and CLI rendering (sync.bat,scan.bat,update.bat,render.bat,build_all.py,scan_earth3d.py,manifest.py,assets.sha256, and allfetch_*.py/build_*.py/railways*_source.pyscripts).src/earth3d/contains the runtime 3D Earth engine, layers, historical database, raw GeoJSON boundaries (data/), built assets (assets/), and local download/venv cache (src/earth3d/.cache/, gitignored).start.batcallsengine/sync.bat --if-neededandengine/update.baton every launch;engine/sync.batruns a full check againstengine/assets.sha256and refreshesengine/earth3d-catalog.log. Seesrc/earth3d/README.mdandCLAUDE.md.public/fonts/holds the fonts every animation uses (Inter, Noto Sans SC, Noto Serif SC, all SIL OFL, licenses alongside).src/fonts.tsloads them before any frame is captured, so renders do not depend on the fonts installed on the machine.public/images/vinyl-cover.jpgis the default VinylPlayer cover (an Unsplash photo), stored locally so the render does not need the network.asset-source/remotionlab/keeps local.tsxanimation references. These examples are not loaded by the Remotion bundle.asset-source/programmatic-visual-assets/contains code-animation references and attribution.
Remotion is installed as an npm dependency. This repository uses its public APIs and keeps animation implementation under src/.