Recursion example in Code
Simon built this #recursion example/ pattern (a Sierpinski triangle) in Codea (using the language Lua) while we a had a coffee at a cafe:
a homeschooling blog about Simon, a young mathematician and programmer, and his little sister Neva. Visit https://simontiger.com
Simon built this #recursion example/ pattern (a Sierpinski triangle) in Codea (using the language Lua) while we a had a coffee at a cafe:
This weekend Simon came back to his old fascination, Fractal Trees. This time he didn’t just follow along Daniel Shiffman’s coding challenges, but created customized versions of Daniel’s trees, adding … Continue reading Fractal Trees Customized
What sort of literature do you fancy in the evening? Simon’s downloaded the book The Algorithmic Beauty of Plants tonight. Here Simon explained to me how L-systems and Cantor Set … Continue reading L-Systems
Simon followed Daniel Shiffman’s Fractal Recursion tutorial on how to write functions in Processing that call themselves (recursion) for the purpose of drawing fractals. Later he programmed a Sierpinski triangle from memory, … Continue reading Recursive Function: Sierpinski triangle
Simon has studied Context-Free Grammar, following a set of tutorials from Daniel Shiffman’s ITP course “Programming from A to Z“. Context-Free Grammar is a set of recursive “replacement” rules to define … Continue reading Context-Free Grammar