ScratchData LogoScratchData
Back to diegofguillen's profile

KochSnowflake

DIdiegofguillen•Created June 20, 2014
KochSnowflake
4
2
104 views
View on Scratch

Instructions

Press the Green Flag to draw a recursive Koch Snowflake.

Description

This is an example of a recursive figure. It is called the "Koch Snowflake", and it is done with a function (a block) that is called recursively. Recursive blocks call themselves. To avoid an infinite loop, it needs to test for a termination condition (depth=0). In each iteration, the line is replaced by a triangular hat.

Project Details

Project ID23862831
CreatedJune 20, 2014
Last ModifiedJune 20, 2014
SharedJune 20, 2014
Visibilityvisible
CommentsAllowed