READ INSTRUCTIONS FIRST DO NOT Use turbo. This project allows you to create a self similar fractal by arranging squares. For divisions on a side choose a number between 2 and 17 (above 17 and we meet the Scratch clone limit) WASD: moves squares (or you can drag) up/down: changes how big the squares are which determines the scaling factor. Note: I divide by scaling factor so this is 1/r for most resources. left/right: rotates the square Z: zoom in X: zoom out v: Hides/shows the parameters
This is an updated version of my previous project: https://scratch.mit.edu/projects/579596793 Some suggested fractals to make. A) 3 divisions remove the middle (Sierpinski Carpet) B) 2 divisions, remove upper right, then slide upper left above the bottom 2, but in the middle (Sierpinski Triangle) C) 3 divisions, remove all but the far left and far right in the middle row (Cantor set) D) 2 squares one at (0,0) angle -45, the other at (.5,.5) angle 45. Both scaling factor around 1.41 (Levy Dragon) For more sets of parameters: http://larryriddle.agnesscott.org/ifs/ifs.htm This project randomly samples (and plots) 100,000 points. The arrangement of the squares determines an iterated function system (in this case all the scaling factors are determined by the size of the square) https://en.wikipedia.org/wiki/Iterated_function_system