The following is a similar version created with EJS.
You can drag the star point (at the top) and end point(at the bottom) horizontally.
The velocity v change the moving speed.
Speed at upper half v[sub]1[/sub]=v/n[sub]1[/sub], speed at lower half v[sub]2[/sub]=v/n[sub]2[/sub].

/htdocs/ntnujava/ejsuser/2/users/ntnu/fkh/fastestpath_pkg/fastestpath.propertiesFull screen applet or Problem viewing java?Add to exception site list
Press the Alt key and the left mouse button to drag the applet off the browser and onto the desktop. This work is licensed under a Creative Commons Attribution 2.5 Taiwan License
Download EJS jar file(1457.9kB):double click downloaded file to run it. (41 times by 20 users) , Download EJS source (16 times by 8 users) View EJS source