Diffusion-Limited Aggregation translated into Codea

Simon translated Daniel Shiffman’s Diffusion-limited Aggregation Coding Challenge into Codea. The coding challenge explores the generative algorithm “Diffusion-Limited Aggregation”, whose visual pattern is generated from random walkers clustering around a … Continue reading Diffusion-Limited Aggregation translated into Codea

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?

Neural Networks. Perceptron and Preception Seeking in JavaScript

Simon has translated Examples 10.1 (Perceptron) and 10.2 (Perceptron Steering) from Daniel Shiffman’s Nature of Code book, Chapter 10 (Neural Networks) into JavaScript in Codepen.io. Both projects are available online, … Continue reading Neural Networks. Perceptron and Preception Seeking in JavaScript

Drawing Object Trails in Processing

Simon’s translation of the Drawing Object Trails p5.js tutorial into Processing. In the tutorial, Daniel Shiffman looked at how an object can store a history of positions thus allowing to render the object’s … Continue reading Drawing Object Trails in Processing

Minimum Spanning Tree in Processing

Simon’s version of Daniel Shiffman’s Minimum Spanning Tree tutorial: Simon translated it from JavaScript into Processing (Java), “a much more complex project than the circles with no overlap!” A minimum spanning … Continue reading Minimum Spanning Tree in Processing

Random Circles with No Overlap in Processing

Simon translated Daniel Shiffman’s p5.js tutorial on random circles with no overlap into Processing (Java). The project is about a “circle packing”-like algorithm. Circles are placed randomly in the canvas, but only … Continue reading Random Circles with No Overlap in Processing

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)