A collection of Cavalry scripts from Canva’s Motion Powerhouse team to speed up workflows and make great motion design.
Install by copying the Canva folder to your Cavalry Scripts directory.
Important
If you're using Cavalry Free, please use the encrypted scripts in the .jsc folder (these may not be as up to date as the .js files)
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.
Important
When installing, place both Easey.js AND the easey_assets folder in your Cavalry Scripts folder.
Tip
Hold shift while dragging handles to mirror them in the Speed graph, or lock them to the closest axis in the Value graph.
Adds a speed graph and allows cubic-bezier notation for easing between two keyframes. Makes easing easy.
You can also save presets, and copy duration and easing values to pass to developers.
If you're looking for a more polished value graph editor that supports Magic Easing, check out Curves at Scenery.io.
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.
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.