Skip to content

Omer-Amin/Moovee

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 

Repository files navigation

Moovee

Moovee is an incredibly versatile 2D animation library. It utilises a modular design to allow you to monitor and fine tune each and every aspect of the animation in real time, allowing for features such as interactibility.

The rendering component of Moovee is an optional module, as the library contains a vast number of useful methods for linear algebra, geometry, incrementation, interpolation, calculus, and more.

The script is highly intuitive. The following example draws a square and then morphs it into a circle:

Renderer::create(600, 600);

shape circle = Shape::circ(300, 300, 100),
      square = Shape::rect(300, 300, 100, 100);

Movie demo({
    Scene(Script::draw(square)),
    Scene(Script::morph(square, circle))
});

demo.afterFrame = [&](Movie& movie) -> void {
    Display::scene(movie.showing);
};

Movie::play(demo);

About

Real-time 2D animations with SDL

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published