Crate ytesrev[−][src]
Ytesrev
Ytesrev is a library to create presentations programmatically in rust. It is inspiered by the tool manim by 3Blue1Brown, but can be used in live situations where dynamicity matters.
Important Note:
Ytesrev is extremely slow on debug build, please run it release mode by running
cargo run --release
. On debug build, ytesrev can go down to as low as ~3 FPS and take over 5
minutes to load a simple presentation, while in release mode, it never drops below 60 FPS, and
takes under 15 seconds to load.
Re-exports
pub extern crate sdl2; |
Modules
anchor |
An anchor that sticks an object to a specific side or corner of the screen |
ditherer |
A dithering effect, useful for fading images and text, in and out. |
drawable |
Contains utilities for where and how to draw things |
empty |
The empty object |
image |
Utilities to load PNG images |
latex |
LaTeX rendering, using |
layout |
Positioning objects on the screen |
margin |
Give an object a margin |
prelude |
A "prelude" to avoid having to |
scene |
The thing to be rendered every time |
solid |
A solid square of color |
utils |
Different utilities for drawing |
window |
Manage the windows on screen |
withsize |
Make an object have a static size |