Welcome to Tsunami Channel
Menu
Comic Strips
02/01 Program #1
02/02 Program #2
02/03 Program #3
02/04 Program #4
02/05 Program #5
02/06 Program #6
02/07 Program #7
02/08 Program #8
02/09 Program #9
02/10 Program #10
02/11 Program #11
02/14 Program #12
Wednesday, February 2, 2005
| First| Prev | Next |Last |

Program #2 "Nearest Point Test"

Comic Strip

| First| Prev | Next |Last |

"Nearest Point Test" by Akira
(2005-02-02)

This applet look for the shorted path between point and line. It's obvious, but perpendicular path from line to point is the shortest path. End points are behave differently, since you can't draw perpendicular path. Finding shortest path/distance become very important later for calculating how close two lines are.