Snap!Con2021_ArbreFractal_Vee

by nathalierun
See Code Download Embed
#Snap!Con2021

The genius of vee is to lay at random at the end of a branch a leaf or vee itself... 
vee invoking itself: this is recursion.

Click several times on the green flag, you will get different plants, with different leaves each time.
Go inside the source and activate the message draw_me_a_plant_that_grows : you will have a plant growing under your eyes.
Then try the other messages... For example, you will be able to export your beautiful plants as images full HD.
Please enable support for native JavaScript functions before running the project.

Project inspired by  https://snap.berkeley.edu/project?user=dan%20garcia&project=vee%20click

Created July 28, 2021

Last updated January 11, 2024

Published July 28, 2021