Skip to content

TomCP20/Python-Spirograph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spirograph

A program that draws a randomly generated Spirographs via the turtle library.

Spirograph

How to run

This program was made using python version 3.12.1, pillow version 10.3.0 and several built in modules.

When run the program will draw a spirograph, when the spirograph is complete the user can do three things:

  1. Left mouse click the turtle window to generate a new spirograph.
  2. Right mouse click the turtle window to save a screenshot of the canvas.

To exit the program close the turtle window.

configuration

resolution

The number of steps taken to draw the spirograph, increasing makes the spirograph smoother but take londer to draw.

size

The radius of the spirograph.

arms

The number of "arms" used to dram the spirograph, increasing results in more complex, less symetrical spirographs.

About

A program that draws Spirographs via a turtle

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages