Animation with turtle.
Project description
pyAn - animation software for python. Does not use any other modules except turtle and math. Commands
- startTurtle() - starts an animation.
- frame() - goes to the next frame.
- Obj class: Obj(args).
- run() - draws the object.
- Obj types: Obj([, other args]). -- 2d: --- ellipse: Obj(["ellipse", x, y, a, b, color, run]) --- rectangle: Obj(["rectangle", x, y, w, h, color, run]). --- polyline: Obj(["polyline", [(x1,y1), (x2,y2), ...], color, run]). -- 3d: --- rect prism: Obj(["rect prism", x, y, z, w, h, d, color, run]).
- color: tuple of (r, g, b).
- run: attribute if you are going to automatically use run() on the object.
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
pyAn-0.0.1.tar.gz
(1.5 kB
view details)
Built Distribution
pyAn-0.0.1-py3-none-any.whl
(2.2 kB
view details)
File details
Details for the file pyAn-0.0.1.tar.gz
.
File metadata
- Download URL: pyAn-0.0.1.tar.gz
- Upload date:
- Size: 1.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.8.0 tqdm/4.56.2 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f7ead4f85911e3b8a3173a21b4d21f88d2d7b1388443c891cc4d9b8a6ee2b559 |
|
MD5 | 8d6133b40a62b18cb6046b88e14229b2 |
|
BLAKE2b-256 | 3d25a9d6caad785bfc656d89e17046ba6baa5d2b58e51f6ed84ea00f2197e1c0 |
File details
Details for the file pyAn-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: pyAn-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.8.0 tqdm/4.56.2 CPython/3.8.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | b6b890ad4c852b5d8d1bf6679f1f7a2fd38271294b1b1530857cc3ac664927af |
|
MD5 | f3fd5370576f12935ec6dfb3a39f362d |
|
BLAKE2b-256 | d24456ce8699df966f9bf79707cfc8b130dd69190ab86c86524b2f6c7dcb4db9 |