infpp.fractal
Class FireColorizer

java.lang.Object
  extended by infpp.fractal.FireColorizer
All Implemented Interfaces:
Colorizer

public final class FireColorizer
extends java.lang.Object
implements Colorizer

The FireColorizer class provides a Colorizer that generates really hot colors.

Author:
both

Constructor Summary
FireColorizer(int maxIterations)
          Constructs a new FireColorizer.
 
Method Summary
 java.awt.Color calculateColor(int numberOfIterations)
          Calculates a Color given the number of required iterations at a point in a fractal.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FireColorizer

public FireColorizer(int maxIterations)
Constructs a new FireColorizer.

Parameters:
maxIterations - the maximum number of iterations of the associated fractal generator
Method Detail

calculateColor

public java.awt.Color calculateColor(int numberOfIterations)
Description copied from interface: Colorizer
Calculates a Color given the number of required iterations at a point in a fractal.

Specified by:
calculateColor in interface Colorizer
Parameters:
numberOfIterations - the given number of required iterations
Returns:
the calculated Color
See Also:
Colorizer.calculateColor(int)