An arduino sketch and diagrams for creating a pattern repeating device.