public class FractalGenerator extends Object
Constructor and Description |
---|
FractalGenerator() |
Modifier and Type | Method and Description |
---|---|
protected void |
expandRectToFitImage(ComplexRectangle complexRect) |
ByteArrayOutputStream |
generateFractal() |
ByteArrayOutputStream |
genFractal(ComplexRectangle rect,
ComplexPoint juliaPoint)
Create a fractal image as JPEG in memory and return it
|
protected String |
getColor() |
protected int[] |
getCurrentColorMap() |
public ByteArrayOutputStream generateFractal() throws IOException
IOException
public ByteArrayOutputStream genFractal(ComplexRectangle rect, ComplexPoint juliaPoint) throws IOException
rect
- rectangle of mandelbrot or julia setjuliaPoint
- point in Julia set or nullIOException
protected int[] getCurrentColorMap()
protected String getColor()
protected void expandRectToFitImage(ComplexRectangle complexRect)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.