How to automate this colored square chain? https://preview.redd.it/84b5d8bbbfgh1.png?width=486&format=png&auto=webp&s=cdd5c4432948aafa8e2e12330223bf0…