Skip to content

Module to draw spirographs with python turtle graphics

License

Notifications You must be signed in to change notification settings

daviddekoning/spiro

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spirographs in Python

This module allows you to draw spirographs using python's built-in turtle graphics module.

This is currently very preliminary - let me know if you find it fun and what features might be useful!

Usage

from turtle import *
from spiro import Spiro

s = Spiro()
s.draw()
s.r1 = 200
s.r2 = 40
s.offset = 15
s.color = 'red'
s.draw()

About

Module to draw spirographs with python turtle graphics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages