The Landscape Bean

Here is a java bean that renders fractal landscapes. I've included the source within the jar file, as well as a make file for nmake. Download landscapebean_jar.zip. You should unzip this file before you use the bean. To extract the source from the jar file type 'jar xf landscapebean.jar'.

Here is a screen shot:

Screen Shot

To Use With the BDK 1.0 BeanBox

Put the Landscape.jar file in the \bdk\jars directory - or use the File/LoadJar... menu option on the BeanBox. You can then drop new landscapes onto the work area. Use the PropertySheet to change the attributes of the bean (randomSeed, topView, and scale). Link other controls to the landscape to manipulate it using methods (showSideView, showTopView, rotateRight, rotateLeft, randomLandscape). You can save your work when you are finished - this bean is serializable.

Browser Demonstration

If you are using a java 1.1 compliant browser, you can run a demo applet.

home

Hosted by www.Geocities.ws

1