Scientists have developed a new method to generate and control terahertz radiation, a type of light useful for various applications. Their device employs magnetic multilayers with programmable magnetization to create different patterns of terahertz waves, including beams with specific twists and rotations.