Welcome to Tsunami Channel
Menu
Comic Strips
03/23 ExCoKo #410
03/25 ExCoKo #411
03/29 ExCoKo #412
03/30 ExCoKo #413
03/31 ExCoKo #414
04/01 Akira #27
04/06 ExCoKo #415
04/07 ExCoKo #416
08/29 Akira #28
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/12 Akira #29
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.