Effective formation of hierarchical wavy shapes using weak photopolymerization and gradual thermal curing process