Iterated Function System
Iterated Function System (IFS) is a method to construct fractals through the use of a set of transformations, also called contractive mapping. The transformations are made up using seven variables (e.g. a,b,c,d,e,f) and applied to points in the euclidian plane. Given a point p the new x,y coordinates are calculated as nx = a * p.x + b * p.y + e; ny = c * p.x + d * p.y + f; The transformations must be specified in different lines and variables must be separated by commas.
Author: Gabriel Ambrósio Archanjo
Source: IteratedFunctionSystem.java
|
|