|
|
"Bald Eagle" <cre### [at] netscapenet> wrote:
> Not to make it any more complicated, but it might give a more compact code -
> what about calculating the array values by using abs(sin (somthing)), and that
> way when [theta] goes past the max, it automatically goes back to 0, and the y
> array can be calculated as int(theta/360)*SHIFT.
Actually, now that the coffees have started to kick in, a mod(A,B) function
would probably be better.
Post a reply to this message
|
|