View Full Version : Old Flash Art
Luke Svenson
10-28-2004, 06:15 AM
I'm trying to figure out how to calculate the distance between two points on a graph... oh, if only someone would document the procedure in rhyme form.
Maybe I'll trade you for some free xanax.
Luke Svenson
10-28-2004, 06:43 AM
good 'cause I could fill a wheelbarrow
nomadx
11-10-2004, 09:53 PM
function getDistance(x1,y1,x2,y2){
return Math.sqrt(Math.pow((x2-x1),2)+Math.pow((y2-y1),2));
}
:wave:
vBulletin v3.5.3, Copyright ©2000-2006, Jelsoft Enterprises Ltd.