Uploaded to
www.rart.com Dec 12,
2008
Sample Universes
Some sample universes have been around for a long time .
However, the newer Java versions demonstrate the Rart™
concept as well as the use of the Rart Development
Kit, RDK 3.0. You can here observe and play with selected universes or
observe a Continous Demo
Selected Universes
The following universes are run using the latest rartrunner,
RRlet release, 2.5. RRlet 2.5 was revised to allow the observer
to maximize the window and, using a long mouseclick, get a popup menu
to among other things modify the parameters.
This is one of my first universes (originally
programmed in QuickBasic for the Macintosh
in 1988-89). It demonstrates how very simple
shapes interact to form surprising and interesting patterns. See the Eggs universe and make sure to try different
colorcombinations.
This universe is patterned after an early screensaver. While
in general screensavers meet the requrements for a Rart universe,
randomnes etc. the main difference is in the Java enviroment which
encourages the display of the universe over the Internet using almost
any javaenabled browser whereas screensavers usually are programmed in
code specific to the operating system and computer.. In the Polygons
universe the observer can
modify the number of corners and the number of lines as well as color.
See the Polygons universe.
The universe is my first attempt to model some aspect of
reality, in this case the snowflake. The symmetric branching of the
snowflake is in itself a wonder and causes flakes to be different for
simple physical reasons. This universe grows the flakes according to
rules which apply until the limit of resolution of the screen is
achieved, hereby we actually have fractals. Originally I programmed the
Flakes universe, which later was modified to serve as an animated
cristmascard. This version, with suitable and modifiable text went out
in 2006. One parameter, "Complexity", influences the nature of the
growing flake by shortening the length from a branching point to the
next.
Originally this universe was designed to test the
incorporating of external files into a Rart universe. In this case
three balls, in three different colors, are provided as GIF-images. As
I played around I added bouncing of the balls as well as the ability to
show trace of the balls and a parameter for gravity which makes the
balls fall down or upp. Observe the ThreeBalls
universe and try out the trace capability.
This universe is closely related to the ThreeBalls universe.
I took out the bouncing of colliding balls and added Newtonian
gravitation, i.e. each body in the universe attracts (or repells) every
other with a force proportional to the product of the masses and
inversely proportional to the square of the distance. If anything this
universe shows how difficult it is to end up with a stable planetary
system. The parameter "Solar System Configuration" offers a choice of
configurations including one with a double sun.
Sample
Universes Displayed using
rartrunner
RRlet, demo version .
The RRlet
environment, is programmed to run
in browsers that conform to JDK 1.1+. It should be viewable in almost
any browser (See the Rart
Homepage about how to enable Java for various browsers with Java
capability.).
In this continously running demo you normally get one of
several
simple universes, text universes with explanatory
text displayed for 10-15 seconds. In demo-mode a universe is then
selected at random to run from anywhere between
30 and 90 seconds. When a universe is running in demo-mode, a long
click initiates a series of dialogs allowing
you to change parameters. A long click also adds about five minutes of
running time so you can play around some
more without being interrupted. On a short click, you get a new
selection of universe with new randomly selected
parameter values.
In this older version of the rartrunner you can not
Maximize the applet window but use a predefined window
size. We have provided windowsizes 800 x 480 pixels and 1200 x 500
pixels
The applet tag looks as follows for those that are
interested
<APPLET
ARCHIVE="demo.jar" CODE="rrlet.RRletdemo.class"
WIDTH="800" HEIGHT="480" ALIGN="BOTTOM"
alt="( With a java enabled browser you would see animation here)">
<PARAM NAME="UNIVERSE" VALUE="A2">
<PARAM NAME="DEBUG_LEVEL" VALUE="0">
</APPLET>