Quickstart
By the end of this guide you will:
- Render your first demo script
- Write your first
.rslscript - Render a visualization
- Export a video
All videos are generated using Rustimate!
1 · Install Rustimate
brew install rustimatecurl -fsSL https://rustimate.com/install.sh | bashscoop install rustimateVerify:
rustimate --version
# rustimate 0.1.02. Run the demo
To get started , run the demo command.
rustimate --demo
# use shorthand
rustimate -dRustimate Guide
Open your current folder and you should be able to see a mp4 rustimate-demo.mp4
3. Help
You can use help command to know more about the arguments available.
rustimate --help
or
rustimate -hRustimate Guide
4 · Create your first script
Create a file called hello.rsl and add the following snippet.
This script defines a simple scene with a text element.
scene "scene1" {
mode: presentation
text "Hello World"
text "Welcome to Rustimate Guide"
}I use Neovim but you can use any editor of your choice to add the following snippet
Rustimate Guide
To run this .rsl file, run the following command to see the frames and ETA.
Rustimate will now:
- Parse the RSL script
- Generate frames
- Encode the video
- Generate
firstrsl.mp4in your current folder
You can avoid adding .mp4 extension
rustimate -i hello.rs -o firstrsl Rustimate Guide
That’s it!
You just created your first Rustimate visualization.
From here, RSL scripts can power code walk through and do much more.
I am excited to see what you create.
See License tiers for what each tier unlocks.
Next steps
- CLI reference → — full list of flags and arguments
- RSL Reference → — everything you can express in RSL