This project may need some discussion by the instructor.
Use graphics.py.
It is a simple graphics library.
Click HERE
for more information.
(download, install, documentation, ...)
Draw a spiral of Theodorus up to √17.
Note: A Theodorus spiral is also called a square root spiral, or Pythagorean spiral.
From: commons.wikimedia.org
From: commons.wikimedia.org
Use polar coordinates and convert to x,y coordinates to draw the spiral.
We know sides a, b, and the hypotenuse of each triangle that makes up the spiral. We just need to accumulate angles of triangles. (i.e. A spiral's (polar coordinate) angle is the sum of all of the angles that came before it.)
Polar Cartesian Coordinate Conversion
Spiral of Theodorus (YouTube)
Spiral of Theodorus (Wikipedia)
Easiest Way to Find Shortest Distance from Point to the Line (YouTube)