Physicists have created a new computer code that could speed up the design of the complicated magnets that shape the plasma in stellarators, making the systems simpler and more affordable to build.