Running with Shoes - 2D Examples
19
Oct1
Oct1
I’ve already mentioned the Shoes, the mini Ruby-based GUI Toolkit, and gone into detail about its 2D graphics capabilities. In this post I will just provide some additional example of animated graphics developed with Shoes.
Shoes Bubbles
This sample application follows the mouse when it hovers around the application window and draws growing bubbles. The bubbles have scan lines thanks to the mask method.

Here is the source…
Shoes Flower
This is an animation of two concentric sets of circles moving in different directions. As the circles move they change size and color.

Here is the code…










