Look up on a clear night and the stars shimmer, flicker and sometimes flash colours. The bright planet next to them (Venus, Jupiter, Mars) just sits there, steady. They are all dots of light, so why the difference? Neither the star nor the planet is doing anything different. The air above you is, and what it does to a light depends on how big that light looks.
The atmosphere is not a smooth pane of glass. It is a churning mixture of warmer and cooler pockets, and each pocket has a slightly different density. Light bends a tiny amount whenever it passes from thinner air into thicker air, so every pocket acts like a weak, wobbling lens. Wind drags these pockets across the line between you and the star, and they keep changing shape.
The pockets that matter most for the naked eye are small: roughly the width of a hand up to a dinner plate. As one drifts through the path of the light, it steers a little more of the starlight into your eye, then a little less, then more again. Your pupil sees the brightness jump around several times a second. That jumping is twinkling, which astronomers call scintillation.
Below, light travels from a source at the top, through a turbulent layer, to an eye at the bottom. The strip across the middle is the layer: bright patches focus extra light, dark patches steer it away, and the wind slides them sideways. Each thin line is one sample of light from the source. Start with the star, then drag the size slider up to the planet.
With a tiny source, every line passes through the same patch of turbulence at the same moment, so they all brighten and dim together and the trace jumps. Make the source bigger and the lines spread out. Now they cross different patches, and while one is dimming another is brightening. You see the total, and the total barely moves.
Seen from Earth, even the stars that look largest through the biggest telescopes are only a few hundredths of an arcsecond wide (an arcsecond is 1/3600 of a degree). That is far smaller than the blur the atmosphere itself adds, which is typically around one arcsecond on a good night. To the air, a star is a single ray.
A planet is different. Jupiter appears roughly 30 to 50 arcseconds across, depending on how close it is, and Venus can reach about an arcminute. Light from one edge of the disk reaches you along a path that is a little different from light from the other edge, and out in the high atmosphere those paths are metres apart. They cross different air pockets. Each point on the disk twinkles on its own schedule, and your eye adds them together.
When you average many independent flickers, the ups and downs cancel. As a rule, averaging N independent wobbles shrinks the total wobble by about the square root of N. A planet is effectively many tiny stars glued together, so its twinkle is mostly smoothed out. A planet is not perfectly steady, which is why the tip below comes with a warning.
Near the horizon, light has to cross far more air than it does overhead, and then even planets twinkle a little. A bright star low in the sky does something even more dramatic: air bends blue light slightly more than red, so the atmosphere acts like a weak prism, and the star's colours are shuffled in and out of your eye. That is why Sirius, the brightest star in the night sky, can seem to flash red, green and blue when it hangs low.
So the folk rule works: a bright, steady point that does not twinkle is probably a planet. Just do not trust it right at the horizon.
Take away the air and the twinkling goes. Astronauts see stars as steady points, and space telescopes like Hubble get sharp images partly for this reason. Ground-based observatories fight back with adaptive optics: they measure the distortion and reshape a thin flexible mirror hundreds to thousands of times a second to cancel it. You are watching the same wobble the mirror is chasing every time you look up. Press the Space button above to see the flicker vanish.