Sha256: bf6848cc7430176fedc1764b927d172a06563539f5d404397530c4a1d22eaf1f
Contents?: true
Size: 422 Bytes
Versions: 6
Compression:
Stored size: 422 Bytes
Contents
# # Example from juixe "Running with Shoes - Show me more" # http://juixe.com/techknow/index.php/2007/10/24/running-with-shoes-show-me-more/ # Shoes.app :width => 600, :height => 600 do nostroke def draw_circle(app, color, size) r = size/2 app.fill gray(color) app.oval app.width/2 - r, 0, size, size draw_circle(app, color - 0.04, 3*size/4) if (color > 0.4) end draw_circle(self, 0.9, 600) end
Version data entries
6 entries across 6 versions & 2 rubygems