Running with Shoes - 2D Examples

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.

Shoes Bubble

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.

Shoes Flower

Here is the code…

Technorati Tags: , , , , ,

Running with Shoes - Shapely »
« Firefox Extension: ScreenGrab!
 
Related Posts
Recent Posts
 

1 Comment so far

  1. […] If you’re looking to do small GUI applications, you might take a moment to look at "Shoes" the tiny Ruby UI Tookit. Why? Well, if you’re an old WinForms or new WPF guy like myself, (or an old Java guy, also like myself) it’s helpful to other perspectives on what a Domain Specific Language for UI might look like. The sample source is here. Here are four different snippets in four different language that show a single button with a click event handler that shows a message. Here’s the same thing in Shoes. Note that the documentation for Shoes is available as a Ransom Note. The creator never uses the acronym "GUI" in the docs or materials, but prefers to think of Shoes as a "toy." It’s a pretty near toy, take a look at the 2D animation examples. […]

Leave a reply