Patterning the cellular microenvironment