Simon recorded a series of “tutorials” based upon what he learned about springs and spring force from Daniel Shiffman’s The Nature of Code book, Chapter 3 Oscillation and corresponding videos.
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
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.