A planet that slowly turns is one of the cheapest ways to make a space game feel alive. It sits on a star map, behind a shooter's waves, on a title screen or in an idle game's upgrade panel, and it keeps moving while the player reads. This guide covers what a good rotating pixel art planet needs: the number of frames, the sizes that work, how the light should fall, the details that sell it, and how to put it on a background that does not show its seams.
Frames: one full turn per loop
The loop must be a whole turn of the planet, or the surface jumps when the animation restarts. The number of frames sets how far the surface moves each frame. A good rule is to move the ground about two to four pixels at the equator per frame:
- 32 px planets: about 48 frames per turn.
- 64 px planets: about 64 frames per turn.
- 128 px planets: about 96 frames per turn.
- Play them at 10 to 12 frames per second, so one turn takes four to eight seconds.
Test the loop by watching the last frame lead into the first. If you see a jump, the surface does not end where it started. A planet that is drawn from a map turned by a whole number of map columns each frame avoids this by construction.
Sizes: draw each one, do not scale
Pixel art planets look best when every size is drawn for that size. A 128 px planet scaled down to 32 px turns its coastlines and craters into noise, and a 32 px planet scaled up looks blocky next to sprites drawn at full detail. Small planets need bigger shapes and fewer colours; large ones can carry rivers, crater rims and cloud shadows. If you must scale, scale by whole numbers with nearest-neighbour filtering, never by 150 percent.

Light: one direction for everything
Pick one light direction for the whole game, usually from the top left, and light every planet, moon, asteroid and ship the same way. Then split each material into four tones: a night tone, a dark tone, a mid tone and a lit tone. A small ordered dither at the edges between tones gives the classic pixel art terminator without smooth gradients.
- Keep the night side dark but not black, so it still reads against space.
- Let glowing things ignore the light: lava, city lights and crystal veins look best brighter on the night side.
- Add a one pixel atmosphere rim on the lit edge of planets that have air.
Details that make it read as a world
A few touches turn a coloured ball into a place. Clouds that drift a little faster than the ground show that the planet has weather. A one pixel shadow under each cloud gives depth. City lights on the night side tell the player people live there. Craters need one dark edge facing the light and one bright edge facing away. Rings should pass behind the planet at the top and in front of it at the bottom, and the planet should cast its shadow on them.
More than planets
A believable sky has more than one kind of object. Suns with a boiling surface and a corona, a black hole with a turning accretion disc, a spiral galaxy in the distance, tumbling asteroids and a comet crossing the screen all give the player something to look at between planets. Keep them in the same palette family and with the same light, and they will look like one universe.
Seamless backgrounds and parallax
Behind it all, use space backgrounds that tile in both directions, split into layers: an opaque base with the faintest stars, a transparent nebula layer and a transparent layer of near stars. Scroll them at different speeds for parallax. A separate layer of a few twinkling stars, played slowly, adds life without distracting from the action.
- Base layer: scroll slowest, or not at all.
- Nebula layer: about a third of the camera's speed.
- Near stars: about two thirds of the camera's speed.
- Planets: place them between the nebula and the action, and scroll them with the nebula or slower.
Planets in different kinds of games
In a shoot 'em up, keep planets large, slow and dim so bullets stay readable in front of them. On a strategy star map, use the 32 or 64 px sizes and let the player click them, with a selection bracket and a short info panel. In an idle or incremental game, a single 128 px planet turning in the corner of the screen gives the numbers something to orbit. On a title screen, one big ringed giant and a moon in front of a nebula is often enough.

Common problems
- A loop that is not a whole turn, so the surface jumps every few seconds.
- Planets lit from different sides in the same scene.
- Half-transparent edges that turn into a grey fringe on a coloured background.
- A background tile that is not seamless, which shows a line every 256 pixels.
- Planets scaled by a fraction, which blurs the pixels.
A ready-made universe
Our Gridwright Pixel Planets has 62 planets and moons that turn, each drawn at 32, 64 and 128 px, with clouds, city lights, glowing lava and rings that cast shadows, plus suns, black holes, galaxies, asteroids, comets, twinkling stars and six seamless space backgrounds with nebula clouds and asteroid belts. Every loop closes, planets.json lists every sheet with its frame count and speed, and a Planet Generator in your browser makes new seeds, sizes up to 256 px and new colours from the same planet model.
For ships and bullets in the same style, see Gridwright Space Shooter and the ship parts of Gridwright Modular Spaceships, and for layered backgrounds on the planets' surfaces, Gridwright Parallax Backgrounds. Our packs can be used in commercial games; credit "Art by Gridwright" with a link, and do not resell the files themselves.