View Single Post
Old 19th April 2011, 23:27   #5
Amandio C
Senior Member
 
Join Date: Dec 2008
Posts: 400
You can also wrap x,y to the [0,1] interval with
x-=int(x); y-=int(y);
This eliminates the integer part, which is useful when the graph travels to distant places.
Amandio C is offline   Reply With Quote