This array uses 32 or 54 pieces of 5mm cube magnets, all magnets facing the same direction in terms of polarity.