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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ananimlib-0.0.1.1.tar.gz.
File metadata
- Download URL: ananimlib-0.0.1.1.tar.gz
- Upload date:
- Size: 67.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
142434de5b5e573ddd342370f0577d00f12ef2417f5512f78853f2440967f0b6
|
|
| MD5 |
316760c802ef10fd3827e51f5ce8d1cf
|
|
| BLAKE2b-256 |
c9d7807fcd511a305cf9519828718fd559d941be422f60da7b477d9b2e8d89c5
|
File details
Details for the file ananimlib-0.0.1.1-py3-none-any.whl.
File metadata
- Download URL: ananimlib-0.0.1.1-py3-none-any.whl
- Upload date:
- Size: 78.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.9.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c8b33e9b20fa479b72407124695e19fe1e05c07b1f3a957693828006eec37b4
|
|
| MD5 |
b2db02b1a63a78cff13624e1fd24339d
|
|
| BLAKE2b-256 |
b997fd19f463232e7f13e62a116aa48543cd60cf2fa12f10bfbe4fe8efd75ae6
|