Different biological units were cultured separately and then inserted into the levitation device with or without beads, as shown in the provided schematic for each coding type. The biological units were then magnetically guided to form different compositions that consolidated during culture. Schematic for serial (A) and parallel (B) coding with different cellular units (spheroids and cells, R, red; G, green; and B, blue). Schematic for surface tension (C) and hybrid (D) coding with different cellular units and plastic beads (P, gray or magenta). Fluorescence images are presented. Scale bars, 100μm.