On Sat, 20 May 2006, thewade wrote:
range of 0-200 will only return values for 0, 2, 4, 6, 8, etc. but using line should fix that simple problem, shoudn't it? But it doesnt.
Normally, it shouldn't. [line] works with a timer. it does linear interpolation using a hidden [metro 20]. It doesn't necessarily go over all integers. Rounding its output doesn't necessarily give you each integer once.
Telling [line] several things in a row f, and then does linear interpolation. You need to set the timer so that the interpolation will fall exactly on each integer, and you have to make sure that the next time you tell [line] something, it's already finished with its previous stuff. The killer limitation is that setting [line]'s timer is only possible using a creation argument: you can't configure it using a message.
Because of all those reasons, [line] is a very bad choice for the job.
_ _ __ ___ _____ ________ _____________ _____________________ ... | Mathieu Bouchard - tél:+1.514.383.3801 - http://artengine.ca/matju | Freelance Digital Arts Engineer, Montréal QC Canada