Hey folks,

So i have a simple block of code here where i am placing a bunch of triangles on the screen and rotating them randomly in multiples of 90 degrees at every draw. It starts off all right but tends to get a gradual rotation on its own which is not in multiples of 90.

```
PShape triangle;
void setup(){
size(500,500);
triangle = createShape(TRIANGLE, 0, 0, 50, 50, 50, 0);
}
void draw(){
background(0);
for (int i = 0; i < 500; i+=50){
for (int j = 0; j < 500; j+=50){
fill(#567354);
triangle.rotate(radians((int)random(3)*90));
shape(triangle, i, j);
}
}
}
```

starts off all right

but then after 5 odd minutes of running it goes crazy wrong

Any ideas on why this is happening would be greatly appreciated.