Turbo Mode! ( SHIFT+GREEN FLAG) Set on a slider color and press the "start" button. Music sets the time to create the carpet. (Approximately 11s).
There are 4 points stored in two list of variables: x and y. He draws a number from 1 to 4. And he runs to: x = (coordinates x + element number of X) * 0.45 y = (coordinates y + element number of Y) * 0.45 color: 0 - random 1 - |x-y| 2 - sqrt(x*x-y*y) 3 - | x*x/y*y| 4 - |x| 5 - |y| 6 - |x| - |y| 7 - |x+y| 8 - |x|+|y| 9 -sqrt(x*x+y*y) carpet of Leszpio - https://scratch.mit.edu/projects/2765565/ Sierpinski carpet in colors - https://scratch.mit.edu/projects/70049954/