Particles connected with springs and Simon’s Physics Library

Simulation of multiple particles connected mutually with springs. Made for Dan from the Coding Train. Simon’s original code with 2 particles: https://editor.p5js.org/simontiger/sketches/18ib3ZNKm Four particles: https://editor.p5js.org/simontiger/sketches/gkexoSqZZ Simon has also started building … Continue reading Particles connected with springs and Simon’s Physics Library

Live Stream #6. (Mostly) Chapter 2 of Living Code: Forces.

Simon’s latest live stream on Thursday, January 11 was a blast! For the first time in his programming career he actually had quite a few viewers – largely thanks to … Continue reading Live Stream #6. (Mostly) Chapter 2 of Living Code: Forces.

Simon’s Codea Tutorials and the Arc-Tangent

A set of awesome Codea tutorials that Simon recorded for those who are just starting to program in Codea. Simon ported examples from Processing (java) into Codea (Lua): In the … Continue reading Simon’s Codea Tutorials and the Arc-Tangent

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

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