Spirals

A C++ program which draws interesting 2D patterns using a set of partially-randomised algorithms.

Situation

This was originally a student project to create a program which drew basic monochrome shapes such as trianges, squares, and circles.

Afterwards, I wanted to practice my coding skills, and make the patterns more interesting by:

  • Increasing the variety of patterns, by randomising how patterns are created
  • Making the ink gradually change colour as a pattern is drawn

Skills used

C++
Object-Orientated Programming (OOP)
Code::Blocks
SDL
Turtle graphics