Permalink
Browse files

fixing dark_star.rb

  • Loading branch information...
1 parent 9ba7144 commit f1be4ccf24cd7a9fe156659bbc8de234065a4890 @jashkenas committed Nov 9, 2009
Showing with 5 additions and 5 deletions.
  1. +5 −5 samples/dark_star.rb
View
@@ -4,7 +4,7 @@
def setup_the_sun
@sun = ContextFree.define do
-
+
rule :start do
rot = 0
split do
@@ -16,13 +16,13 @@ def setup_the_sun
legs :rotation => 360
end
end
-
+
rule :legs do
circle
legs :rotation => 1, :y => 0.1,
- :size => 0.973, :color => [0.22, 0.15], :alpha => 0.5
+ :size => 0.973, :color => [0.22, 0.15]
end
-
+
end
end
@@ -43,7 +43,7 @@ def draw
def draw_it
background 0.7
@sun.render :start, :size => height/7, :stop_size => 0.8,
- :start_x => width/2, :start_y => height/2
+ :start_x => width/2, :start_y => height/2
end
def mouse_clicked

0 comments on commit f1be4cc

Please sign in to comment.