No materials for the event yet, sorry!

Vee is a simple recursive algorithm that explains how plants magically grow.
Vee sounds like the french world Vie that means Life. This is exactly what it is about.
Fractal objects will be defined and described with two simple examples: the Von Koch fractal and the Sierpinski triangle.
We will illustrate how recursiveness combined with randomness can explain the real world, as Benoît Mandelbrot says in his book Fractal objects.
Vee is a fractal tree algorithm that can be modelized with an L-system, and this will be detailed. The coding of the Vee algorithm will be illustrated with part of a Snap! project detailing how we play with list objects to do this.
We hope by this work to make feel the fractal geometry of Nature, then that of Life.
Moreover, this job is supposed to make people want to try to grow beautiful virtual plants using their imagination and creativity.

Summary
We will first explain what recursiveness is, necessary to create fractal objects, and then how to create beautiful fractal trees.

Part I - Fractal objects: What is it? What is it for?
Two very simple fractal objects to draw: the Von Koch fractal and the Sierpinski triangle
It will be explained how those two fractals grow
A variant of the Von Koch curve initiated with a circle arc will be shown
Introducing randomness into fractals is necessary to simulate the real world

Part II - Principle of a fractal tree
Coding the skeleton of a fractal tree with L-systems
Let's code now a fractal tree

Part III - Let's code a beautiful fractal plant with Snap!
Let’s explain the construction outline with Snap!
La magie de la Vie, the magic of the Vee algorithm revealed:
- Let’s play with the lists of objects
- What if Vee himself could be a leaf?
- Inserting several Vee in the list of possible leaves increases the probability of having a tree growing with multiple branches…

The first part of this work is largely due to Benoît Mandelbrot, with his book Fractal objects.
The second part is based on the Wikipedia description of L-Systems.
All constructions and illustrations are done or explained with Snap!. You can see a very pretty plant generated by this algorithm in this tweet.

Duration:
20 min
Room:
Room 1
Conference:
Snap!Con 2021

Happening at the same time:

  1. A Minecraft nerd's take on what Snap! can learn from Minecraft
  2. Start Time:
    2021 July 29 12:55

    Room:
    Room 2

  3. Snap! in High School
  4. Start Time:
    2021 July 29 12:00

    Room:
    Room 4

  5. Hallway Track
  6. Start Time:
    2021 July 29 08:00

    Room:
    Hallway

Events Happening Next

The Secrets & Surprises in Coding Spirals:
TurtleStitch Tur-torial

Cynthia Solomon, Sarah Magner, klimczaksusan@gmail.com

WORKSHOP DESCRIPTION In this workshop, we will focus on building blocks that allow you to play with polygons and spirals with TurtleStitch. If you create a design you love and do not have access to a computerized embroidery machine, global TurtleStitch community friends will embroider & mail you your design!

TurtleStitch is an activity and a coding environment. TurtleStitching is a mi...

more

Grand Gestures
Storytelling with AI

Jens Mönig, Jadga Hügle

In this workshop we'll share a curriculum around AI that we're currently working on. We try to show how to use machine learning in the classroom by implementing a gesture recognizer (based on the $1 gesture recognizer) in Snap!

We start by creating a single-stroke gesture drawing program.
By building an "animate" control structure based on the pen trails, we are able to animate our drawn...

more

Codification (Transformation) of GUI Elements and database structures from SNAP to Python
From blocks language to typing language by SNAP Code conversion

Matthias Kim

Codification means to create Python code directly out of SNAP Code via a mapping SNAP blocks to Python code. The created Python Code via codification in SNAP is downloaded and runs immediately in Python. This has been useful in supporting the steps from SNAP development in a blocks language to a typing language. I would like to show how we enhanced codification with GUI elements: There a...

more