This code draws a fractal with pen: The Sierpinski Triangle. Look closer into a corner and you'll see that it's a copy of the big triangle. You can use TURBO MODE by pressing green flag while holding shift. It will be much faster that way. Here's how it's drawn: 1) Start from a point in the triangle. (I chose the point in the middle of the left and upper corners) 2) Place the dot. 3) Choose a randon corner of the triangle, and go to the point right in the middle of the current point and that corner. 4) Return back to step 2 and repeat. The more you do this, the better the result is. For better quality, go to https://turbowarp.org/1332417747?hqpen
Slow down the project by changing the delay amount (in seconds). Drag the dots to warp the triangle. Press C to clear the screen. Press S to return to the original triangle. Press space to hide/show corners.