A bubble tube sketch written in Processing. http://www.ultrasonicmadness.org/software/rainbow-bubble/

UltrasonicMadness b73fd7a3aa Made the key presses for the new options case-insensitive 2 years ago
RainbowBubble b73fd7a3aa Made the key presses for the new options case-insensitive 2 years ago
LICENSE.txt 8b21f3c56f Initial commit 7 years ago
README.md aba93aaa86 Updated documentation to reflect new options 2 years ago


Rainbow Bubble

Rainbow Bubble is a Processing sketch based on a bubble tube with a rainbow effect.

How to Build

Open the RainbowBubble.pde sketch in Processing and click Export Application from the File menu, fill in the desired settings and click the Export button. The pre-built versions are available for the following platforms and architectures:

  • GNU+Linux (x86, x86_64, arm64, armv6hf)
  • Microsoft Windows (x86, x86_64)

Apologies to anyone using macOS but Processing doesn't allow me to export sketches for it as I am using Arch GNU+Linux.

How to Use

Download and install a Java Runtime Environment and run the RainbowBubble script from the directory matching the OS and processor (probably application.*something*64) or alternatively, open RainbowBubble.pde in the Processing IDE and click the Run button on the top-left.

Once the program is running, it can be influenced with the following keys

  • Spacebar: Toggle the bubbles on and off.
  • P: Pause the background rainbow. Press P again to resume colour cycling.
  • T: Toggle Bubble Tea Mode - Make the bubbles different colours.
  • 1-6: Set the background rainbow to a certain colour depending on the number key pressed.


Rainbow Bubble is licensed under the Apache License 2.0.