Code Diff
HTML to video · Code on screen · Apache-2.0

- What it does
An edit shown as a colored diff — removed lines collapse in red, added lines expand in green.
- Get it
Copy the folder into a project, or
npx hyperframes add code-diff(fetches it from GitHub main to compositions/code-diff.html). It is a whole page with its own timeline: render it alone, or mount it in a film as a sub-composition.- Needs
Loads its libraries from the network when it renders (cdn.jsdelivr.net).
- Re-skin
Edit the file (colors, type, text)
No declared variables. 29 hex colors and 1 font stack are written in the file's CSS. The words are in the HTML.
- Size
1920 x 1080 · 6 s
- License
Apache-2.0
- From