Is there a sample js that can dynamicaly draw line, without flickring,crossbrowser, etc. Like you have a point and another and dynamicaly draw line between as one of them move around with dragging.
The line could be dashed, dotted, no need for whole line.
__________________
Found a flower or bug and don't know what it is ? agrozoo.net galery
if you don't spot search button at once, there is search form: agrozoo.net galery search
That example of yours works, slow doh, but if I make line dotted then it is useful.
Thanks.
__________________
Found a flower or bug and don't know what it is ? agrozoo.net galery
if you don't spot search button at once, there is search form: agrozoo.net galery search
not jet,busy lately with other things, but, replace in your code:
Code:
for( var i=0; i<lineLength; i++ )
with
Code:
for( var i=0; i<lineLength; i=i+10 )
click, wave with mouse around, you will se 'big' difference.
If there are several lines to be drawn at same time, that exponentialy slows things down
__________________
Found a flower or bug and don't know what it is ? agrozoo.net galery
if you don't spot search button at once, there is search form: agrozoo.net galery search