Skip to main content

Mathematically Precise Animations, Intuitive and Extensible API

Project description

docs/Logo.gif

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

As a simple example, 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

Installation instructions:

> pip install ananimlib

Documentation available at Read The Docs

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.1.tar.gz (67.1 kB view hashes)

Uploaded Source

Built Distribution

ananimlib-0.0.1.1-py3-none-any.whl (78.4 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