Mechanics of smart origami sunscreens with energy harvesting ability