Skip to main content

Another 2D Animation engine

Project description

AnAnimlib, was inspired by ManimLib by Grant Sanderson of 3 Blue 1 Brown. The aim of AnAnimlib is to facilitate the creation of mathematically preceise animations through an intuitive and extensible API.

The following code spins a square it as it moves across the canvas.

import ananimlib as al

 rect = al.Rectangle([1,1])

 al.Animate(
     al.AddAnObject(rect),
     al.MoveTo(rect,[-3.0,0.0]),
     al.RunParallel(
         al.Move(rect, [6,0], duration=1.0),
         al.Rotate(rect, 2*3.1415, duration=1.0),
     ),
     al.Wait(1.0)
)

al.play_movie()
quickstart_ex3.gif

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ananimlib-0.0.1.tar.gz (66.8 kB view hashes)

Uploaded Source

Built Distribution

ananimlib-0.0.1-py3-none-any.whl (79.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page