Cflick flag. Hit button "earth burns" to see unlikely event that I made up. Or hit "stop moon" and note that the moon can't just stop dead, nor can it "pixelate." Actually, my method of orbiting is the interesting part. See below.
The interesting thing is that the moon rotatation simulation is entirely from translating circling point: I used matched the moons x coordinate to that of the 2D circling point, and made moons' size proportional to the y coordinate. Had to hide moon for orbit behind earth. Earth image from NASA, from photo by Reto Stöckli.