Simon translated Travelling Salesperson Coding Challenge from JavaScript into Processing (Java)

On Tuesday and Wednesday, Simon ventured upon a serious quest – he translated Daniel Shiffman’s multi-part Traveling Salesperson Coding Challenge from JavaScript into Processing (Java). The travelling salesman problem (TSP) asks … Continue reading Simon translated Travelling Salesperson Coding Challenge from JavaScript into Processing (Java)

Geometry Free Collision Detection. Attractors.

Simon returned to his “old” code (something he wrote about a month ago) and fixed the collision detection in it. He called this “geometry free”collision detection because he doesn’t use any … Continue reading Geometry Free Collision Detection. Attractors.

Oscillation and Drag Force: Spring Project.

Today Simon was watching Daniel Shiffman’s tutorials to learn about drag force and how to apply it when building a spring simulation in p5.js. Simon wrote the formula for drag force … Continue reading Oscillation and Drag Force: Spring Project.

Microsoft Kinect (v2) in Processing using the Open Kinect for Processing library

Our Kinect adapter has finally arrived! Simon had been waiting for about one and a half months and was extremely hyper to try out the code he had already written … Continue reading Microsoft Kinect (v2) in Processing using the Open Kinect for Processing library

Path Following (Simon’s own code). Applying restitution.

On Thursday Simon was busy with writing his own code in Java. He called it “Path Following”. The project basically involved simulating different phenomena with a physics particle (having it … Continue reading Path Following (Simon’s own code). Applying restitution.

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