<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array">
    <added>
      <filename>samples/levy.rb</filename>
    </added>
  </added>
  <modified type="array">
    <modified>
      <diff>@@ -9,8 +9,8 @@ module Processing
     
     attr_accessor :rules, :app
     
-    AVAILABLE_OPTIONS = [:x, :y, :rotation, :size, :flip, :color, :hue, :saturation, :brightness]
-    HSB_ORDER         = {:hue =&gt; 0, :saturation =&gt; 1, :brightness =&gt; 2}
+    AVAILABLE_OPTIONS = [:x, :y, :rotation, :size, :flip, :color, :hue, :saturation, :brightness, :alpha]
+    HSB_ORDER         = {:hue =&gt; 0, :saturation =&gt; 1, :brightness =&gt; 2, :alpha =&gt; 3}
     TRIANGLE_TOP      = -1 / Math.sqrt(3)
     TRIANGLE_BOTTOM   = Math.sqrt(3) / 6
     
@@ -94,7 +94,7 @@ module Processing
           old_ops[key] = value * old_ops[:size]
         when :rotation
           old_ops[key] = value * (Math::PI / 180.0)
-        when :hue, :saturation, :brightness
+        when :hue, :saturation, :brightness, :alpha
           adjusted = old_ops[:color].dup
           adjusted[HSB_ORDER[key]] *= value
           old_ops[:color] = adjusted
@@ -167,7 +167,7 @@ module Processing
                  :rotation =&gt; 0, :flip =&gt; false, 
                  :size =&gt; 20, :width =&gt; 20, :height =&gt; 20,
                  :start_x =&gt; width/2, :start_y =&gt; height/2,
-                 :color =&gt; [0.5, 0.5, 0.5],
+                 :color =&gt; [0.5, 0.5, 0.5, 1],
                  :stop_size =&gt; 1.5}
       @values.merge!(starting_values)
       @finished = false
@@ -175,7 +175,7 @@ module Processing
       @app.rect_mode CENTER
       @app.ellipse_mode CENTER
       @app.no_stroke
-      @app.color_mode HSB, 1.0
+      @app.color_mode HSB, 1.0, 1.0, 1.0, 1.0
       @app.translate @values[:start_x], @values[:start_y]
       self.send(rule_name, {})
     end</diff>
      <filename>context_free.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>54402267524d26524507ccf0f8c6f1b749aace62</id>
    </parent>
  </parents>
  <author>
    <name>Martin Prout</name>
    <email>tux@monkstone.(none)</email>
  </author>
  <url>http://github.com/jashkenas/context_free/commit/4c94f7ff403207c32244e0e224d7f7610f155c93</url>
  <id>4c94f7ff403207c32244e0e224d7f7610f155c93</id>
  <committed-date>2009-11-08T12:38:17-08:00</committed-date>
  <authored-date>2009-11-05T14:29:24-08:00</authored-date>
  <message> Committer: Martin Prout &lt;martin_p@lineone.net&gt;
	modified:   context_free.rb
	new file:   samples/levy.rb</message>
  <tree>6d23645e912d6ccdd19a5edaafa57bd572e1b785</tree>
  <committer>
    <name>Jeremy Ashkenas</name>
    <email>jashkenas@gmail.com</email>
  </committer>
</commit>
