Vispatch Tutorial (using Java 1.02) > TOC > Applet Editing Features > Simple Program Modification

Simple Program Modification

By default the applet starts up in event mode, with the second tool button selected. In event mode, mouse drags and mouse clicks create events that are processed by the graphical objects that make up the Vispatch program.

The top tool button changes the applet to select mode.  In select mode, you can select, move and delete graphical objects.  Try the following:

  1. Click on the select mode button.
  2. Click in the middle of the right arrow of the top rule.
  3. Press the delete key or control-X.
  4. Click on the event mode button.
  5. Drag as before inside the left box.

(Note: the Java 1.02 applet below does not have the editing features required for this demonstration.)
 
Programs are edited using a drawing editor.  Now instead of a fractal tree, the program draws part of a fractal spiral.  Try producing events in various parts in the drawing.  Notice that only events that end inside of the left box have effect.  This is part of the semantics of Vispatch, which will be explained later.