Problem with a Genetic Algorithm Game

Simon has been working very hard at making his version of the Citius Invaders game that Siraj Raval presented in Python during Week 9 of his “Math of Intelligence” course. … Continue reading Problem with a Genetic Algorithm Game

Evolutionary Steering Behaviors Game

Note: See the update at the bottom of this post! We’ve had quite a dramatic situation here for the past couple of days, after Simon turned Daniel Shiffman’s Evolutionary Steering … Continue reading Evolutionary Steering Behaviors Game

Error with Genetic Algorithm. What is wrong?

Simon was almost done translating Smart Rockets example no. 2 (Smart Rockets Superbasic) from Daniel Shiffman’s The Nature of Code, from Processing (Java) into JavaScript in Cloud9, when he got … Continue reading Error with Genetic Algorithm. What is wrong?

Cellular Automata in Arduino

Yesterday Simon spent the whole day studying the concept of Cellular Automaton (CA), a discrete model of a system of “cell” objects used in physics, math and theoretical biology. He … Continue reading Cellular Automata in Arduino

Smart Rockets Coding Challenge translated into Processing (Java)

And here is Simon’s translation of Daniel Shiffman’s Smart Rockets Coding Challenge into Processing (Java). This challenge (originally in JavaScript) was about implementing a genetic algorithm from scratch and create “smart rockets” … Continue reading Smart Rockets Coding Challenge translated into Processing (Java)

Looping through an array lecture

In these videos Simon explains looping through an array and adding while simultaneously removing things from that array. He recorded this presentation while working on an evolution simulation (Evolutionary Steering Behaviors, see … Continue reading Looping through an array lecture

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

Where Botany meets Math and What is Cartesian vs Polar?

Simon did another coding challenge by Daniel Shiffman today, this time a short one called Phyllotaxis. You might be thinking, what in heaven’s name is Phyllotaxis? As it turned out, … Continue reading Where Botany meets Math and What is Cartesian vs Polar?