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

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

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

Pendulum Force

This is a beautiful “lecture” that Simon in his pajamas, chocolate paste adorning is face, game me Friday morning. He spoke about pendulum force, a force he was about to apply … Continue reading Pendulum Force

Translating examples from The Nature of Code into Lua (Codea)

This morning Simon attempted to make a more difficult translation in the Codea app of an example from Daniel Shiffman’s book The Nature of Code (Java) into Lua. It concerned the Gravitational Attraction example … Continue reading Translating examples from The Nature of Code into Lua (Codea)

Playing with examples on Forces and Oscillation from The Nature of Code

Playing with examples from Chapter 3 of The Nature of Code, Oscillation, covering trigonometry and connecting it to forces. The examples included simple harmonic motion, angular velocity and waves, as … Continue reading Playing with examples on Forces and Oscillation from The Nature of Code