Triangle Numbers. Simon’s own code

Now this was pretty amazing! Simon’s new own code, that he so nonchalantly wrote while “having a break” from practicing recursive functions, generates “triangular numbers”. A triangular number or triangle number … Continue reading Triangle Numbers. Simon’s own code

Recursive Function: Sierpinski triangle

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