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

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

Simple Physics. Translating from Lua (the language in the Codea app) into Java

Simon came up with an idea to translate a physics visualization from the Codea app (using a language called Lua) into Processing (Java) by applying Box2D. The first two videos … Continue reading Simple Physics. Translating from Lua (the language in the Codea app) into Java

Simon translated Attraction and Repulsion Forces Coding Challenge into Java

Simon translated part of the Attraction and Repulsion Forces Coding Challenge from JavaScript into Processing (Java). In the first video below he explains the formulas for attraction and repulsion forces: … Continue reading Simon translated Attraction and Repulsion Forces Coding Challenge into Java

MotorAttractor with Box2D in Processing (Java)

In this project Simon combined two exercises and one example from Daniel Shiffman’s Nature of Code book, Chapter 5 – Physic Libraries. The specific physics library used here is Box2D. … Continue reading MotorAttractor with Box2D in 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.

Microsoft Kinect (v2) in Processing using the Open Kinect for Processing library

Our Kinect adapter has finally arrived! Simon had been waiting for about one and a half months and was extremely hyper to try out the code he had already written … Continue reading Microsoft Kinect (v2) in Processing using the Open Kinect for Processing library