A collection of Cavalry scripts from Canva’s Motion Powerhouse team to speed up workflows and make great motion design.
Copy the scripts to your Cavalry Scripts folder.
Easey has moved! Download the latest version here →
Converts frame rate while maintaining visual timing of animations and easing curves. Just enter a frame rate and hit Apply!
Note
This will only modify comp duration, keyframe placement and layer timing. It will not modify any stagger, oscillator or similar procedural elements.
Makes renaming layers and project items simple. Find & replace, append and prepend, and number assets with ease.
Converts CSS gradient syntax (linear-gradient) to a Gradient Shader.
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.
Sets all image shaders to mipmaps in the current composition. Clean up those crunchy edges.
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.
Searches all strings in the file and allows you to batch find/replace lines of text. Supports regex.
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.