A simple Processing sketch I made, based on a bubble tube.
Rainbow Bubble is available under the Apache License, version 2.0.
Source code is available on NotABug.
Compiled versions are available on NotABug.