CSCE 441: Computer Graphics |
Fall 2017 |
Assignment 3: Fractals and Iterated Function Systems [150 points]Due 10/11/2017Purpose:The purpose of this assignment is to help you become familiar with 2D transformations and to use these transformations to construct fractals through Iterated Affine Transformations. Description: In this assignment you will create a program that can display attractors created by Iterated Affine Transformations. Since these attractors are created through transformations, you will implement functions that create matrices representing each transformation. You may NOT use any of OpenGL's transformation functions or matrix functions for this assignment. In order to test your code, we have developed a skeleton application for you to modify when creating your program. The code defines the functions you must implement for this assignment. Later, we will replace the init.cpp file with our own to test your code on new fractals you have not seen before. You may build your own data structures/functions on top of this code and are not restricted to only these functions. However, do not modify the given function definitions/types so that our test code will compile with your program. The functions you must implement are:
You should also create two of your own fractals (points will be given for creativity) and display them if the user presses "5" or "6". Finally, we strongly suggest you make sure your program compiles in VS.NET since we will be compiling your programs to test their behavior on unknown fractals. Do not place addition functions inside of init.cpp because we will overwrite that file with our own. Do not change the reshape function either. The window will have coordinates (-1,-1) to (1,1). Grading: [5] Correct behavior when user presses number keys [5] Implementation of translate [5] Implementation of rotate [5] Implementation of scale [5] Implementation of nscale [5] Implementation of image [5] Implementation of compose [5] Implementation of setCondensationSet [5] Implementation of setIATTransformations [5] Correct algorithm for displaying the attractor [10] Fractal Hangman [10] Fractal Staircase [10] Fractal Snowflake [10] Hex Flower [15] Creativity/Originality of own fractal #1 [15] Creativity/Originality of own fractal #2 [30] Correct behavior on unknown fractals |
|||