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

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)

Perlin Noise Combined with Sine Wave Translation into Processing

Simon translated Daniel Shiffman’s Graphing 1D Perlin Noise tutorial into Processing (Java). The project involved combining perlin noise and sine wave:   He also attempted to translate Perlin Noise Flow Field … Continue reading Perlin Noise Combined with Sine Wave Translation into Processing

Polar to Cartesian converter (Simon’s own code)

Simon built a Polar to Cartesian converter (Simon’s own code). You can enter the radius in pixels and the angle in degrees, click “convert” and you get the coordinates in … Continue reading Polar to Cartesian converter (Simon’s own code)

Plinko game translated into Processing (Java) and Box2D

Simon translated Daniel Shiffman’s Plinko game coding challenge from JavaScript and Matter.JS into Processing (Java) and Box2D: Simon adds that he didn’t actually do part 4 of the coding challenge, … Continue reading Plinko game translated into Processing (Java) and Box2D

Steering Behaviors: flow field, dot product, scalar projection

Simon’s big project the last couple of days was about making a steering behaviors database, complete with a navigation menu (in Cloud9): He managed to finish the first two examples … Continue reading Steering Behaviors: flow field, dot product, scalar projection

Pinball Dilemma. Simon’s own code.

Simon heard the word “pinball” and looked it up on Google (never played it himself). He then decided to write a pinball program in Processing (Java), but soon encountered a … Continue reading Pinball Dilemma. Simon’s own code.