[Check out] Rekursive drawing

I just made some things using rekursive drawing. It is amasing what you can do in an hour using these principles.

Take a look at those examples:

http://www.arraypainter.com/projects/shapemorpher/main.html

and

http://www.arraypainter.com/projects/blomst/main.html

Does any of you have an idea of what would be cool to make with user defined values like in “blomst”?

the applets are not working on my workstation. it seems that some classes for my workstation are not avaiable. which java version is needed?

error message:


java.lang.ClassNotFoundException: main.ShapeMorpherApplet.class
      at sun.applet.AppletClassLoader.findClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at sun.applet.AppletClassLoader.loadClass(Unknown Source)
      at java.lang.ClassLoader.loadClass(Unknown Source)
      at sun.applet.AppletClassLoader.loadCode(Unknown Source)
      at sun.applet.AppletPanel.createApplet(Unknown Source)
      at sun.plugin.AppletViewer.createApplet(Unknown Source)
      at sun.applet.AppletPanel.runLoader(Unknown Source)
      at sun.applet.AppletPanel.run(Unknown Source)
      at java.lang.Thread.run(Unknown Source)
Caused by: java.net.ConnectException: Connection refused: connect
      at java.net.PlainSocketImpl.socketConnect(Native Method)
      at java.net.PlainSocketImpl.doConnect(Unknown Source)
      at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
      at java.net.PlainSocketImpl.connect(Unknown Source)
      at java.net.Socket.connect(Unknown Source)
      at sun.net.NetworkClient.doConnect(Unknown Source)
      at sun.plugin.net.protocol.http.HttpClient.doConnect(Unknown Source)
      at sun.net.www.http.HttpClient.openServer(Unknown Source)
      at sun.net.www.http.HttpClient$3.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      at sun.net.www.http.HttpClient.privilegedOpenServer(Unknown Source)
      at sun.net.www.http.HttpClient.openServer(Unknown Source)
      at sun.net.www.http.HttpClient.<init>(Unknown Source)
      at sun.net.www.http.HttpClient.<init>(Unknown Source)
      at sun.plugin.net.protocol.http.HttpClient.<init>(Unknown Source)
      at sun.plugin.net.protocol.http.HttpClient.New(Unknown Source)
      at sun.plugin.net.protocol.http.HttpURLConnection.createConnection(Unknown Source)
      at sun.plugin.net.protocol.http.HttpURLConnection.connect(Unknown Source)
      at sun.plugin.net.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
      at java.net.HttpURLConnection.getResponseCode(Unknown Source)
      at sun.applet.AppletClassLoader.getBytes(Unknown Source)
      at sun.applet.AppletClassLoader.access$100(Unknown Source)
      at sun.applet.AppletClassLoader$1.run(Unknown Source)
      at java.security.AccessController.doPrivileged(Native Method)
      ... 10 more


If you want ideas (I’m Danish too, by the way! But for the sake of the others I’ll stick to English.),

what about some fractals? You could go for:

“Koch’s snowflake curve” or the “Sierpinsky triangle” (many ways to generate this).

Koch’s snowflae curve could be generated by first drawing a triangle.

Each side of the triangle will look like this:

____

Now “iterate” a number of times. On each iteration, replace any straight line segment of the shape with

_/\_

The triangle will then take shape of a star, its edge becoming more complex for every iteration.

In the limit, Koch’s Snowflake curve encloses a finite area but has a boundary of infinite length!

Sierpinskis triangle can be generated as follows:
Start with a straight line segment.
Each iteration consists of replacing all straight line segments by this shape:

\_/

User defined values could change those shapes. Try making them asymmetric and I bet hilarious results will emerge!