Rose Petals with Attraction Repulsion Algorithm. Simon’s own code.

Simon wrote his own code in Processing (Java) to draw flowers using the attraction and repulsion algorithm with the ToxicLibs library. He also put this project on GitHub: https://github.com/simon-tiger/rosepettels_toxiclibs_verletphysics

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