Skip to main content

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


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 hashes)

Uploaded Source

Built Distribution

pyAn-0.1.3-py3-none-any.whl (3.0 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page