What's New


This is the newest version of the Shape Demo. It has shape and color palettes for more intuitive operation. You can create and edit text. You can not read and write shape files yet; that is the next planned improvement.

This applet works very much like the Shapes demo. If you want user instructions, go there to learn the basics, then come back here for more fun. Soon, I'll update the instructions for ShapeEdit and eliminate the old demo.

Lines in a Parallel Universe

This is a discrete event simulation featuring the new Model Package. It supports combined continuous and discrete simulation. A model has different types of entities which can be placed in entity queues. There is a special queue called the event queue which contains entities sorted by activation time. A model references the event queue for the next activity.

The model package makes extensive use of the SoftEvents that are used in the Shapes Package. This is also the first model, on this site, to use the Java 1.1 compiler. It's still generating browser compatible code, i.e. java 1.0.2, but newer language features can be exploited when required or desired.

Towers of Hanoi

This is an applet that uses the Shapes package.


The Shapes Package is a framework for building graphical applications in Java. Shapes are graphic objects: rectangles, arcs, ovals, lines, polygons and strings. The framework provides a powerful object-oriented protocol for creating, sizing, coloring, grouping and moving the shapes. Now you can think in terms of form and motion without getting bogged down in the details of Graphic Contexts, Clipping Rectangles, Double Buffering and the java.awt.Graphics class.

The Shapes framework runs on nearly all of the java-aware browsers in use today because it is based on Java version 1.0.2. Currently, there are 31 classes in the framework and the total size is under 60 Kb. It is small and downloads quickly; at 2000 bytes per second, that's about 30 seconds.

It also runs fast. Click on demo for a test drive. NEW and IMPROVED.

The Four-Stroke Engine

Watch this animated cut-away of a gasoline engine cylinder. The piston, connecting rod and valves are in motion. Mathematical equations describe the position of each part. Java renders the image in real-time.

The engine cycles are described using the Slide Show format. The slide show can control the simulated action and the user can also interact. I wish they had this when I was in school!

The Slide Show Demo

This is a demonstration of the Slide Show format that uses JavaScript to control the action. This is a straightforward way to make a sequencial presentation. The slide show format can display text, graphics and animation on a big screen, while presenting commentary on the side.

This is a demo of a demo using a few slides and two java applets. It's light hearted and it doesn't take long.

SimTools Home Page

Copyright © 1997, 1998 by Simulation Tools ® All Rights Reserved.