This is just a modification of : https://scratch.mit.edu/projects/351018410/ Modified by me! Just watch the dot's make a pattern! Each time you press the green flag, it changes!
I looped the dots, randomised the length and pattern.