Igranje z rekurzivno funkcijo

Tako izgleda “editor”. V resnici ni to nič kaj posebnega, vsaj lahko spreminjamo samo tri stvari:
1.Velikost celega drevesa
2.Kot, pod katerim rastejo veje
3.Globina (n)
Vse to izriše samo ena rekurzivna funkcija.

Tukaj sem globino rekurzije ali “n” povečoval za eno.

Zanimive stvari se dogajajo, če zelo povečamo “n” 😉

Advertisements

About Vili Volčini

Programming is art! I have been programming since 14 years and I have big interest into video games, electronics and robotics. Currently I am studying at math university FMF and as a side projects I am working on video games. Someday I will build a real robot with intention of helping humanity, but it's long road to there!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: