Crate ytesrev

source ·
Expand description

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

An anchor that sticks an object to a specific side or corner of the screen
A dithering effect, useful for fading images and text, in and out.
Contains utilities for where and how to draw things
The empty object
Utilities to load PNG images
LaTeX rendering, using pdflatex and others.
Positioning objects on the screen
Give an object a margin
A “prelude” to avoid having to use a gazillion different things
The thing to be rendered every time
A solid square of color
Different utilities for drawing
Manage the windows on screen
Make an object have a static size