ScratchData LogoScratchData
Back to MyDogTasha's profile

Fractal Example with Regular Polygons

MYMyDogTasha•Created April 12, 2022
Fractal Example with Regular Polygons
4
4
8 views
View on Scratch

Instructions

Press the green flag & use the Slider for the Variable "# of sides" to show Triangle to Dodecagon Fractals. I used "# of sides" & "side length" rather than single letters in my Variables & Make Blocks. It makes the intent of the coding easier for me to understand. I changed the Pen Colour blocks because I did not understand the reason behind the calculations. Leszpio's original block is at the bottom if you want to check it out. Wielobok is Polish for Polygon I disconnected the Music. Go to Backdrop if you want to hear it and join the blocks (The Beatles - Let It Be)

Description

The large triangle is the start and then by moving to the half way point "side Length/2" that becomes the starting point for the smaller fractal that is proportional & rotated to fit inside Here are Leszpoi's original notes for Fractal construction: 1. Plotting a regular polygon with n sides and side of the length a 2. Move by a / 2 3. Rotate clockwise through an angle of 180 / n Repeat points 1-3 substituting for a a * cos (180 / n)

Project Details

Project ID674996308
CreatedApril 12, 2022
Last ModifiedApril 13, 2022
SharedApril 12, 2022
Visibilityvisible
CommentsAllowed

Remix Information

Parent ProjectView Parent
Root ProjectView Root