Springs
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.
a homeschooling blog about Simon, a young mathematician and programmer, and his little sister Neva. Visit https://simontiger.com
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.
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
We had a great Sunday visiting friends in The Netherlands whose kids resemble Simon in many ways. Simon made his signature bubble solution: and learned about ray tracing in Java: … Continue reading 2048
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
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 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
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)
Simon translated the Fractal Spirograph Coding Challenge from Processing into JavaScript:
Over he past few days, Simon has been busy reading Daniel Shiffman’s first book Learning Processing. He watches the video tutorials corresponding to the chapters in the book and completes … Continue reading Reading the Learning Processing Book
Changing the colours inside an image: Matrix to change the contrast of an image. Here Simon explains how this method works: And here he attempted to incorporate the matrices … Continue reading Image Processing in Java
Simon wrote a nice short program in Processing (Java) to make snapshots. To make sure the files are not overwritten when the program runs again I need to … Continue reading Photo Booth Project (Simon’s own code)
On Tuesday and Wednesday, Simon ventured upon a serious quest – he translated Daniel Shiffman’s multi-part Traveling Salesperson Coding Challenge from JavaScript into Processing (Java). The travelling salesman problem (TSP) asks … Continue reading Simon translated Travelling Salesperson Coding Challenge from JavaScript into Processing (Java)