Old men from the 19th century

Almost every evening, before going to bed, we are reading books and Simon mostly prefers math adventures. Russian author Vladimir Levshin (1904-1984) published several books about geometry, algebra and math history, … Continue reading Old men from the 19th century

Infinite Line in Processing. Simon’s own code.

A beautiful project in Processing (Java), Simon’s own code, resembling  an El Lissitzky painting that you can control and change with the mouse (without Simon knowing El Lissitzky). Resulted from … Continue reading Infinite Line in Processing. Simon’s own code.

Perlin Noise Combined with Sine Wave Translation into Processing

Simon translated Daniel Shiffman’s Graphing 1D Perlin Noise tutorial into Processing (Java). The project involved combining perlin noise and sine wave:   He also attempted to translate Perlin Noise Flow Field … Continue reading Perlin Noise Combined with Sine Wave Translation into Processing

Polar to Cartesian converter (Simon’s own code)

Simon built a Polar to Cartesian converter (Simon’s own code). You can enter the radius in pixels and the angle in degrees, click “convert” and you get the coordinates in … Continue reading Polar to Cartesian converter (Simon’s own code)

Steering Behaviors: flow field, dot product, scalar projection

Simon’s big project the last couple of days was about making a steering behaviors database, complete with a navigation menu (in Cloud9): He managed to finish the first two examples … Continue reading Steering Behaviors: flow field, dot product, scalar projection

Pinball Dilemma. Simon’s own code.

Simon heard the word “pinball” and looked it up on Google (never played it himself). He then decided to write a pinball program in Processing (Java), but soon encountered a … Continue reading Pinball Dilemma. Simon’s own code.

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)

Nearest Neighbour Coding Challenge. Euclidean Distance.

The notes above are from a couple days ago when Simon was trying to explain to me, where the formula for calculating similarity s = 1/1+c comes from. He linked it … Continue reading Nearest Neighbour Coding Challenge. Euclidean Distance.