Hi! smile

Read on
% Modulo operator, the integer remainder of a division.

add this to your code for a limit of 360.
%360
// It has been posted before ...somewhere..

For debuging I make a panel with the variables that I want to follow.

Ottawa

Ottawa