The pattern on a moth's eyes has inspired a better working solar panel.