All pastes #344989 Raw Edit

Mine

public javascript v1 · immutable
·published 2007-02-08 04:21 UTC
rendered paste body
var dx, dy, steps = 12, pointx = [], pointy = [],i,x,tmp,tmp2;function coalesce_unscramble(){	for (i = 0; i < c_arr.length; i++)	{		tmp = getElement(c_arr[i]+"_"+i);			dx = (ox_arr[i] - nx_arr[i]) / steps;		dy = (oy_arr[i] - ny_arr[i]) / steps;		tmp2 = "X: ";		for (x = 1; x < steps - 1; x++)		{			pointx[i][x] =  Math.round(ox_arr[i] + (x * dx));			pointy[i][x] =  Math.round(oy_arr[i] + (x * dy));			tmp2 += Math.round(ox_arr[i] + (x * dx)) + " ";		}		alert(tmp2);		tmp.style.top = oy_arr[i] + "px";		tmp.style.left = ox_arr[i] + "px";	}}