I have made an implementation in Java:
http://www2.math.su.se/~per/files.php?file=Paxiflame[2009]JavaSource[Eng]-PAXINUM.tar
The following features exists:
- Run from terminal.
- Produces PNG images.
- Uses gamma computation for better color, (as suggested in original paper).
- Color depending on last used functions, (asiop).
- Buckets with changable size, for antialiasing, (asiop).
- Some non-linear functions (Sinusodial, Fisheye, etc), (asiop).
- There are some short examples that generates a random flame, the sierpinski triangle, and a fern.
Look in Computator.java
that do the auto focusing and the iterations, and FlameRenderer.java
that converts the RawData
into an image.
Known bugs:
- Number of iterations can only be
MAX_INTEGER
, and there is only rudimentary error handling.
- Only png files are supported output.
I hope it will help you, and I'm open for improvements.