Integration Techniques for Physics Simulations

Simon has made a visual about what he calls “three different ways to make a physics simulation”: Blue: Modified Euler Integration (aka Backward Euler Integration); Green: Euler Integration (aka Forward … Continue reading Integration Techniques for Physics Simulations

Test Tube Games

Simon has had hours of fun with Test Tube Games, a science games portal featuring interactive explanations and dynamic puzzles on Chemistry and Physics. He has created two simulations based … Continue reading Test Tube Games

The Senses: Simulating Taste and Smell

You need 24 bits (3 bytes) to simulate color. That’s 24 ones and zeros. How many bits are necessary to simulate taste? Or smell? Correction: You would need 584 bits … Continue reading The Senses: Simulating Taste and Smell

Back to Attractor with ToxicLibs

Simon returned to his old Attractor sketch in Processing once again, now adding some new functions: The code original came from Daniel Shiffman’s book The Nature of Code, Chapter 5 (Physics … Continue reading Back to Attractor with ToxicLibs

Translating Car On Terrain project from Phaser.io into Processing

Today Simon spent hours translating this Car On Terrain project from Phaser.io (where it appears in JavaScript) into Processing (Java). He loved doing it in a form of a lesson for … Continue reading Translating Car On Terrain project from Phaser.io into Processing

Path Following (Simon’s own code). Applying restitution.

On Thursday Simon was busy with writing his own code in Java. He called it “Path Following”. The project basically involved simulating different phenomena with a physics particle (having it … Continue reading Path Following (Simon’s own code). Applying restitution.

2D and 3D Cloth with ToxicLibs

Simon built this awesome animation that looks and moves like a hammock on Sunday, a coding challenge on Daniel Shiffman’s channel. In this challenge Simon used the toxiclibs physics library to create … Continue reading 2D and 3D Cloth with ToxicLibs

Matter.js (Physics Library)

Simon got seriously hooked on Matter.js, a a 2D JavaScript physics library that supports rigid body collisions and constraints. He started with Daniel Shiffman intro to Matter.js, downloaded it using GitBash … Continue reading Matter.js (Physics Library)