É apresentado um protocolo para a geração de paisagens químicas dinâmicas por fotolise dentro de configurações microfluidas e milfluidas. Essa metodologia é adequada para estudar diversos processos biológicos, incluindo o comportamento motil, a absorção de nutrientes ou adaptação a produtos químicos de microrganismos, tanto no nível celular quanto populacional.