(added content)
(Added images and headings. I will add text describing these images soon.)
Line 8: Line 8:
 
===Understanding Recursion in the Koch Curve===
 
===Understanding Recursion in the Koch Curve===
 
[[File:Kochsim.gif|thumb|The Koch Curve]]
 
[[File:Kochsim.gif|thumb|The Koch Curve]]
 +
[[File:Recersion in Koch Curve.png|500px]]
 +
[[File:Iterations of Koch Curve.png|500px]]
  
 
===Implementing it in Scratch===
 
===Implementing it in Scratch===
 
<!-- To be based on this project: http://scratch.mit.edu/projects/10068174/-->
 
<!-- To be based on this project: http://scratch.mit.edu/projects/10068174/-->
 +
 +
====Basic Pen Path without Recursion====
 +
 +
====Adding Recursion====
  
 
[[Category: Scripting Tutorials]]
 
[[Category: Scripting Tutorials]]

Revision as of 03:52, 14 May 2013

Warning.png This article or section is currently undergoing major changes by Bsteward (talk | contribs). Please avoid largely modifying this page's contents until this template has been removed. (Date?)
The droste effect is an example of Recursion.

Recursion is the process of repeating items in a self-similar way. Recursion can be implemented in Scratch by making a block that uses it self. This can be used to create fractals. A fractal is pattern that produces a picture, which can be zoomed into infinity and will still produce the same picture. Some common examples of fractals are The Mandelbrot, The Sierpinski Triangle, and The Koch Snowflake.

Creating the Koch Curve

The Koch Curve is a fractal that can be created relatively easily in Scratch. The Koch Curve is part of a larger fractal, the Koch Snowflake.

Understanding Recursion in the Koch Curve

The Koch Curve

Recersion in Koch Curve.png Iterations of Koch Curve.png

Implementing it in Scratch

Basic Pen Path without Recursion

Adding Recursion