Hexagon Fractal
Getting Started
Enter the pixel dimension (in pixels) of the level 0 hexagon you wish to draw. Then enter the highest level you wish to draw (with 0 being the first level). Select the draw object, color option, and draw mode as you prefer. Click Draw! To return to the menu, click anywhere on the image.
Notes
Draw Object: A hexagon is to fit inside a circle. The circle can be selected along with the hexagon to validate the fractal. Or simply select the circle to view the hexagon fractal as circles.
Colors: Several color modes are available. Although colors are not available when using the Graphics2D draw mode.
Draw Mode: Graphics2D and Graphics classes were used. Graphics2D class is able to render with more precision using doubles versus integers. At first glance, both appear to render the same, but select both, and see the differences.
Performance: Performance will vary. The rendering is buffered and then displayed at once. Its usually very quick for lower fractal levels and will require patience if you select a fractal level of 7 or higher. Use the Graphics draw mode for speed. Use Graphics2D for accuracy. This applet will resize itself to fit in the browser window (maximizing the browser window is highly recommended).
About
COPYRIGHT (C) 2005 Rob Bauer. All Rights Reserved.