CS465 - Assignment I - Barış Poyraz
This assignment is prepared for CS 465 - Computer Graphics course using WebGL and Javascript. The aim of this assignment is mainly to generate Sierpinski's Carpet with upto 5 iterations. Additional capabilities of the program are implemented with respect to the assignment information. Below, there are descriptions of the functionalities with respect to the user interface:
It displays the Sierpinski's Carpet for 1-5 iterations
It changes the background color of the canvas. Default: White
It changes the foreground color of the canvas. Default: Red
It saves the current state of the sierpinski carpet, stores them in a text file and downloads it.
It takes a text file as input and generates the previous state of the program according to the text file
The fractals can be displayed by using either Filled Polygons option, or with Lines option. Default: Filled Polygons
Number of Iterations: 1
Background Color
Foreground Color
Save the Current State
Load the Previous(Stored) State
Display the fractals using: