Project 0112

by Bruce D

Description

I have always been an admirer of computer-generated art and of fractal images and so decided that for my final project I would try my hand at generating such images with the knowledge that I have acquired over the last six weeks. I have consequently used the tkinter and math modules in python to do recursive arithmetic and trigonometric calculations in nested loops to generate the images. The first image is that of a lemon tree standing beneath an archway. The branches of the tree were produced using recursive trigonometric calculations. The archway was produced by a succession of recursive arithmetic calculations. The second image is a set of nine multicolored squares with each square rotated 10 degrees around the center. Each square and each successive rotation were generated using recursive trigonometric calculations. The third image is a set of eight triangles with each triangle rotated 15 degrees around the center. Each triangle and each successive rotation were generated using recursive trigonometric calculations.