planetarium
planetarium copied to clipboard
save() and saveFrame() don't output correct image
These functions are meant so save the contents of the output window, however, because the way rendering works in the planetarium library (by calling the draw() method several times for each frame) they don't generate the expected result.
To save() and saveFrame() you have to put this commands inside
void screen() {
save();
}

Awesome, thanks so much it works perfectly! Seems so simple, but I never would have got that myself.