Researchers have modeled the actions of electrons under extreme temperatures and densities, such as those found within planets and stars.