Mathematically Precise Animations, Intuitive and Extensible API
Project description
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()
Installation instructions:
> pip install ananimlib
Documentation available at Read The Docs
Project details
Release history Release notifications | RSS feed
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)
Built Distribution
Close
Hashes for ananimlib-0.0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3c8b33e9b20fa479b72407124695e19fe1e05c07b1f3a957693828006eec37b4 |
|
MD5 | b2db02b1a63a78cff13624e1fd24339d |
|
BLAKE2b-256 | b997fd19f463232e7f13e62a116aa48543cd60cf2fa12f10bfbe4fe8efd75ae6 |