Soap Bubbles

6 Jun 2019 · Konrad Heidler

Soap Bubbles

Have you ever wondered about the rainbows on CDs, gasoline puddles or soap bubbles? All of these have the same cause: The interference of light on thin surfaces. Today, we’ll try to render something that looks like a soap bubble. Some Physics When a ray of light hits the surface of the soap bubble, it is either instantly reflected, or it enters the soap film and is refracted. When it is refracted, it can then be reflected off the other end of the soap, and then leave it again at a slightly different spot. There are countless other possiblities for the ray to bounce around, but these are the two that we will focus on here. ...

6 Jun 2019 · Konrad Heidler

Pachelballs

25 Dec 2018 · Konrad Heidler

Pachelballs

When I was a kid, I really enjoyed this game called Electroplankton. Especially the game mode called Hanenbow, where you launched small tadpoles onto leaves. On impact the leaves would emit glockenspiel sounds, and create a nice sounding melody. Here’s what it looked like: I wondered, how hard could it be to implement something similar? If you just want to see the animation, click here. If you’re interested in the background, read on! ...

25 Dec 2018 · Konrad Heidler