Novel on-chip fluid control strategies, on-demand formation of arbitrary microchannels and parallel control of multiple microvalves were successfully demonstrated by means of computer-controlled micropatterned light irradiation of a photoresponsive hydrogel sheet.