Skip to main content

A package for orbiting turtles in python

Project description

about

This is a python package for orbiting turtles in python's turtle package. all you need to use is the orbit function and it will move your turtle in an orbiting motion for as long as you loop it. this package comes with 2 functions:

orbit function:

orbit(turt,originx,originy,radius,dangle,angle=0)

turt is the turtle to orbit

originx and originy is what its orbiting around.

radius is how far from the origin the orbit it is

dangle is the delta angle, positive for counterclockwise, negetive for clockwise. the more the faster.

angle is the current angle. if you do not enter an angle, it will make an angle variable in your turtle (turtlename.angle) and will use that.

radians function

rad(x)

x is the number to convert to radians (from degrees).

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

pyturtleorbit-1.2.3.tar.gz (1.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyturtleorbit-1.2.3-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file pyturtleorbit-1.2.3.tar.gz.

File metadata

  • Download URL: pyturtleorbit-1.2.3.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.8.0 tqdm/4.54.1 CPython/3.8.7

File hashes

Hashes for pyturtleorbit-1.2.3.tar.gz
Algorithm Hash digest
SHA256 4c7b3061abcb1fb6f9e19cdb1e891d27ad89f32a2778a32472cd154bed3ff907
MD5 4912009b9b35157841a662d55372fa66
BLAKE2b-256 13c889e1a12501d708e1303be1648d24f18aba38374ce5c330d2e0d6d8b87ca3

See more details on using hashes here.

File details

Details for the file pyturtleorbit-1.2.3-py3-none-any.whl.

File metadata

  • Download URL: pyturtleorbit-1.2.3-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.8.0 tqdm/4.54.1 CPython/3.8.7

File hashes

Hashes for pyturtleorbit-1.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 63175700911ed26bf3084db1950c58f5b915db7de86c4b6e5da7c09871b607d5
MD5 7b92f497eb3eb99ee1dc31abe9cf224e
BLAKE2b-256 cc73f6f02eb40b3bee7230486089246559a5edc7e979f9094f1bb8f2b54885c5

See more details on using hashes here.

Supported by

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