coding

__

Code art in Python - Spirograph pattern in a rectangle - Part 2

August 18, 2019

This post shows how to identify the polygon vertexes, post-process the intersection points, define a colour scheme, implement the global function to draw a spirograph pattern in a rectangle with Python. Some drawings will be shown at the end of the post.

__

Code art in Python - Spirograph pattern in a rectangle - Part 1

August 11, 2019

This post defines the grid definition and the parametric equations required to draw a spirograph pattern in a rectangle with Python.

__

Code art in Python - Spirograph pattern in circle - Part 4

August 4, 2019

This post defines the polygon drawing, different colour schemes, implements the global function to draw a spirograph pattern in a circle with Python. Some drawings will be shown at the end of the post.

__

Code art in Python - Spirograph pattern in circle - Part 3

July 28, 2019

This post implements a vectorized polygon vertex detection and shows how to postprocess intersection points to create a spirograph pattern in a circle with Python.

__

Code art in Python - Spirograph pattern in circle - Part 2

July 21, 2019

This post shows how to define a line through two points and the intersection point of two lines.