A planet's dipole magnetic field lines deflect the incoming solar wind. Adjust field strength and wind speed and watch the magnetosphere bow shock form in real time.