While your code will work, it doesn't make any difference. Katzolwia represents the angle of the turtle in degrees. If the angle is bigger than 360, that function will change it to the same angle from 0..360 range. The same goes for angles smaller than 0. Of course, you can swap 360 for 0 and 0 for 360, but, like I said, it doesn't make any difference.

For smaller programs you could skip that part completely. Computers can calculate trigonometric functions from numbers bigger than 360 or smaller tha 0 with no problems. I decided to include this function to prevent katzolwia to become to big or to small what could make the entire program to crash (if the number becomes to big or to small for variable to keep it).

For smaller programs you could skip that part completely. Computers can calculate trigonometric functions from numbers bigger than 360 or smaller tha 0 with no problems. I decided to include this function to prevent katzolwia to become to big or to small what could make the entire program to crash (if the number becomes to big or to small for variable to keep it).