Skip to main content

A fun way to get started with graphics and data science in python

Project description

Introduction

Start your Data Science journey with Turtler. Written to make learning fun!

Getting Started

Turtler is built on top of turtle but makes drawing easy.

Import

from turtler import Turtler

Initialize

myTurtler = Turtler()

Move and Draw

myTurtler.go(DIRECTIONS)
myTurtler.draw(DIRECTIONS)

DIRECTIONS is a string consisting of:-

Character Direction
u UP
d DOWN
l LEFT
r RIGHT

EXAMPLE:-

directions = "uldr"
myTurtler.go(directions)

End Drawing

myTurtler.done()


Other Methods

Set Animation Speed

myTurtler.setSpeed(YOUR_SPEED)

Options:

  • fastest
  • fast
  • normal
  • slow
  • slowest

Set Step Size

myTurtler.setSpeed(YOUR_SIZE)

YOUR_SIZE is an int 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

turtler-0.0.3.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

turtler-0.0.3-py3-none-any.whl (3.6 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