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)

Spring Animation Tool (Simon’s own code)

The next exciting step in writing his own code about spring force: Simon actually created an interface to allow anyone to build his own shape made of springs and particles! Simon … Continue reading Spring Animation Tool (Simon’s own code)

Soft Springs (Simon’s own code)

Simon used Chapter 3 (Oscillation) of Daniel Shiffman’s book The Nature of Code as the theoretical basis for creating his own code. First, he played around with what he calls “soft springs” – … Continue reading Soft Springs (Simon’s own code)

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.

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

Node and Broadcasting messages between clients. Shared Canvas.

In this video Simon explains how a server works with multiple clients: He also used this knowledge on practice as he came back to the Shared Drawing Canvas Coding Challenge, a … Continue reading Node and Broadcasting messages between clients. Shared Canvas.

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

Translating from JavaScript to Java (Continued)

Simon continued translating from JavaScript to Java as he followed Daniel Shiffman’s tutorial on creating a mirror based on the brightness values of the pixels from a live video feed. The … Continue reading Translating from JavaScript to Java (Continued)

Translating from JavaScript to Java (Simon wrote this post)

– Simon, where did you learn translating from JavaScript to Java? – From Dan, of course! I’ve compared the two formulas for converting from 2D to 1D. (The width stands for … Continue reading Translating from JavaScript to Java (Simon wrote this post)

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