to run:

java DistanceViewer

key presses toggle modes:
1 - switch to L1 metric
2 - switch to L-infinity metric
3 - switch to L2 metric (actually just uses square of L2 distance)

a - show regions (first region does not show up on suns,
but does from printing out screencaptures of sun display! click three times
in order to see regions in this mode)

b - shows boundaries of regions(approximate, depends on threshold value, set to be 3, could be changed with recompile)

to quit:

control-c on the command line.


to recompil:

javac *.java


copyright 2004, Daniel Heller

latest version may be found at either: 

This program is free software;
you can redistribute it and/or modify it under the terms of the
GNU General Public License as published by the Free Software Foundation;
either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
See the GNU General Public License
at for more details.