A collection of Cavalry scripts from Canva’s Motion Powerhouse team to speed up workflows and make great motion design.
These scripts are tools created internally by Canva's motion designers, and are mostly vibe coded. They are not supported by the Cavalry team.
Download each one below.
Copy the scripts to your Cavalry Scripts folder.
The missing speed graph for Cavalry.
A tiny little colour toolbar.
Import Lottie files.
Converts CSS gradient syntax (linear-gradient) to a Gradient Shader.
Sets all image shaders to mipmaps in the current composition. Clean up those crunchy edges.
Headless script that sets the background colour alpha for all selected comps to 0.
Explodes all paths on a shape layer to seperate shape layers.
Export and import all text strings from a file for translation.
Localiser.CSV.demo.mp4
- Rename the "originalValue" column to your default language
- Add as many new column to the right as you like and title them with their corresponding language
- Enter new translations for each line. Leave a cell blank to keep the original text.
- Import back into Localiser and either choose language to apply, or duplicate all comps automatically with new values.
Find and replace any string in any comp.
Makes renaming layers and project items simple. Find & replace, append and prepend, and number assets with ease.
Headless script to swap the names of two selected comps.
Copies all assets into your Project folder.
Simple script, an alternative to Cavalry's inbuilt functionality.
Select the compositions you want to keep and run this script to remove the rest. Pair with Remove Unused Assets to quickly clean up a file.
Removes all assets not used in a composition.
Simple script to compare update versions against a json file and log a console alert.
Some scripts make web API calls simply to check for updates.
Feel free to open pull requests, dig through the code and use this to build your own tools. We release these freely under the MIT license to help further the Cavalry community!
Brought to you by the Canva Creative Team with assistance from Cursor. Repo maintained by Phillip Tibballs, Jack Jaeschke and Sam Mularczyk.
0 comments
log in to comment.