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
IOExceptionpublic ByteArrayOutputStream genFractal(ComplexRectangle rect, ComplexPoint juliaPoint) throws IOException
rect - rectangle of mandelbrot or julia setjuliaPoint - point in Julia set or nullIOExceptionprotected int[] getCurrentColorMap()
protected String getColor()
protected void expandRectToFitImage(ComplexRectangle complexRect)
Copyright © 2009-2015 The Apache Software Foundation. All Rights Reserved.