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.1.3.tar.gz
(2.2 kB
view details)
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
pyAn-0.1.3-py3-none-any.whl
(3.0 kB
view details)
File details
Details for the file pyAn-0.1.3.tar.gz.
File metadata
- Download URL: pyAn-0.1.3.tar.gz
- Upload date:
- Size: 2.2 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 |
942e75e8d666d2e5494c19a8a0268d59d2656b7dfbd5ac69ace610a5780ee77a
|
|
| MD5 |
7397c2c92fa91f8e56e08245c7ae42b6
|
|
| BLAKE2b-256 |
d976e3a672b22e720a909bfb2e7fc45511d47d613e1806f5861376629a1a6ece
|
File details
Details for the file pyAn-0.1.3-py3-none-any.whl.
File metadata
- Download URL: pyAn-0.1.3-py3-none-any.whl
- Upload date:
- Size: 3.0 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 |
379a12c1641b2449cd42fde12e41f37687d64798c8fa990f148ca1268387f2dc
|
|
| MD5 |
39ec0228a75447b372284fda44c44627
|
|
| BLAKE2b-256 |
5fd90c96dae47092794a155fb367a881711eb3efdf5a834e788b76fbb85cdaa0
|