Simulating Evolution: Evolutionary Steering Behaviors

  On Wednesday Simon went on with playing god (evolution simulation) and translated Daniel Shiffman’s Evolutionary Steering Behaviors Coding Challenge from JavaScript to Java.  The goal of the challenge is to … Continue reading Simulating Evolution: Evolutionary Steering Behaviors

Autonomous Agents and Genetic Algorithms

Today Simon spent hours watching videos and reading Daniel Shiffman’s book The Nature of Code, concentrating on more complicated matters than ever: autonomous agents and evolution (genetic algorithms). In The … Continue reading Autonomous Agents and Genetic Algorithms

L-Systems

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

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

Gravitational Attraction (World Generator in Java). Simon’s new own code!

Simon has come up with a new code of his own! It’s about gravitational attraction (particles attracted to targets or moons attracted to planets) and partially based upon the Box2D library … Continue reading Gravitational Attraction (World Generator in Java). Simon’s new own code!

Islamic Star Pattern

Simon made this beautiful interactive Islamic star pattern from Daniel Shiffman’s one hour long coding challenge he devoted to the refugees. The coding challenge is based on this paper about … Continue reading Islamic Star Pattern

Recent fascinations

Also among the interests of the past couple of days: the Breadth-first Search and the Depth-first Search: Both are algorithms for searching tree or graph data structures (think: mazes). The Breadth-first Search … Continue reading Recent fascinations

Probabilities and Logarithms

What does Simon do when he is sick and free from having any lessons? Follow a course on probability theory and logarithms (which he watched four times), writing equations and … Continue reading Probabilities and Logarithms