# Recursion
>
Teacher: Ms Punter
## Objectives:
1. Discuss fractals
2. Look at recursion
3. See how recursion can be used to make fractals
----
This is a fractal - Mandelbrot. Can you describe it?
{%youtube Ao9N3kNBJQY %}
https://www.youtube.com/watch?v=Ao9N3kNBJQY
----
Fractals are patterns. A perimeter or a surface area of a fractal __can__ be infinite. Perimeters or surface areas of fractals are made up of the shape of the same fractal but at smaller scale. Fractals are driven by recursion.

----
## A recursive function is a function that calls itself
----
<iframe height="600px" width="100%" src="https://repl.it/@missPunter/CountdownRcrsv?lite=true" scrolling="no" frameborder="no" allowtransparency="true" allowfullscreen="true" sandbox="allow-forms allow-pointer-lock allow-popups allow-same-origin allow-scripts allow-modals"></iframe>
----
{"metaMigratedAt":"2023-06-15T17:59:17.148Z","metaMigratedFrom":"Content","title":"Recursion","breaks":true,"contributors":"[{\"id\":\"0f7a35ec-f2b1-4089-943c-17d8603eb062\",\"add\":1770,\"del\":867}]"}