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()
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.tar.gz
(66.8 kB
view hashes)
Built Distribution
ananimlib-0.0.1-py3-none-any.whl
(79.1 kB
view hashes)
Close
Hashes for ananimlib-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | db272938c32f2ec0c2ac8cb3552ce9eb748e540e53ff605bf2738b4306a12036 |
|
MD5 | e039df7d97091f0f45a48e4cdb8ddf70 |
|
BLAKE2b-256 | e2d0a18ccde3122d8c2661c718fe1b063385160b44143e3be59798df7986d0fa |