The Nature of Code Forces example translated into Lua

Another translation involving the Codea app, only this time Simon decided to translate an example from Daniel Shiffman’s book The Nature of Code (Java) into Lua. The example comes from … Continue reading The Nature of Code Forces example translated into Lua

Nearest Neighbour Coding Challenge. Euclidean Distance.

The notes above are from a couple days ago when Simon was trying to explain to me, where the formula for calculating similarity s = 1/1+c comes from. He linked it … Continue reading Nearest Neighbour Coding Challenge. Euclidean Distance.

Random Walker Puzzler. Diffusion-Limited Aggregation (Simon’s own code)

In today’s project (partly based upon Daniel Shiffman’s Diffusion-Limited Aggregation Coding Challenge), Simon attempted to combine the generative algorithm “Diffusion-Limited Aggregation” (DLA) and an IQ Puzzler game. As DLA visual pattern is … Continue reading Random Walker Puzzler. Diffusion-Limited Aggregation (Simon’s own code)

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)

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

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

Computer Vision: Color Tracking and Motion Detection (Java)

On Saturday Simon picked up Computer Vision again – something he had tried back in February but got stuck. This time around, he had built up better theoretical knowledge and sketched … Continue reading Computer Vision: Color Tracking and Motion Detection (Java)

Translating from Java to JavaScript. The Bubble Project

“Just recycling some building blocks here”, I heard Simon say Monday. This is a screenshot of Simon’s Bubble Project – an animation he built by translating a Java code from … Continue reading Translating from Java to JavaScript. The Bubble Project