Directional Wipe
HTML to video · A cut between two pictures · Apache-2.0
- What it does
A directional scene push that slides one panel over another. Paste-in snippet: it registers no timeline, you wire it into your own.
- Get it
Paste its markup, CSS and script into your composition, then add the timeline lines from the comment at the top of the file to your own GSAP timeline. demo.html in the folder shows it running. 2 settings to change.
- Needs
Loads its libraries from the network when it renders (cdn.jsdelivr.net).
- Re-skin
By props (colors)
Declared variables: palette, corner. Colors come from theme custom properties with fallbacks (--accent, --accent-2, --brand), so a :root block or one of the three themes re-skins it.
- License
Apache-2.0
- From