How to reset ofRotate to original position

I’m drawing lots of objects around a circle by incrementing an angle val passed into ofRotate() a certain number of degrees every time I loop, as follows:

void ofApp::setup(){
    angle = 0.1;
void ofApp::draw(){

ofRotate() continues from it’s previous rotation every time it’s called. So after my app loops an arbitrary x number of times, and thus my canvas is rotated x number of times, how could I rotate it back to its original position? Is there a function or method for that? Anybody ever find a way to achieve this?

if you wrap ofRotate(…) in push and pop matrix calls you can return to the prev rotation:


Uhh oh yeah. Long day I guess. Thanks.