A: This is a simple java applet that mimics maze patterns. You can change the size of each leg by changing the values in the upper left corner. Click anywhere in the rectangular region to begin the drawing. The rules are simple, the applet takes turns from a vertical line to a horizontal line. It's x-direction is random, the length of the lines are determined by the values in the (x,y) text boxes on the upper left corner. The applet progresses downwards and never circles back upwards, this is why there is only one continuous line. With these rules you can get these real neat designs. When I look at them, I think of lightning strikes, it has that certain random characteristic.
|