Press the green flag and watch the "Magic" unfold. Try it a bunch of times. the slider is cool if you move it while the pattern is creating.
Code by @Scratch-Minion.