A new way to accurately predict how materials respond to pulsed laser heating, even when the laser's behavior is a bit unpredictable, allowing engineers to optimise laser parameters for applications, such as cutting, welding, drilling, and surface treatment.