This allows the synthesis of the bioactive agents (i.e. compounds such as nucleic acids and antibodies) to be separated from their placement on an array, i.e. the bioactive agents may be synthesized on the beads, and then the beads are randomly distributed on a patterned surface.