samples/pcr.rb in cf3-0.0.2 vs samples/pcr.rb in cf3-0.0.3
- old
+ new
@@ -34,16 +34,16 @@
end
end
end
shape :band do # narrow band with 0.66' probability
- hbar size: 0.8, ht: 0.1, brightness: 0.3, alpha: 0.3, hue: 0.7, saturation: 1.0
+ hbar size: 0.8, ht: 0.1, brightness: 0.3, alpha: 0.3, hue: 251, saturation: 1.0
band brightness: 0.5
end
shape :band, 0.5 do # double width band with 0.33' probability
- hbar size: 0.8, ht: 0.15, brightness: 0.8, alpha: 0.6, hue: -0.1, saturation: 1.0
+ hbar size: 0.8, ht: 0.15, brightness: 0.8, alpha: 0.6, hue: -36, saturation: 1.0
band brightness: 0.5
end
shape :band, 0.08 do # a low probability empty rule used to end recursion
end
@@ -79,10 +79,10 @@
# needed to have a draw loop so we can re-run on mouse click
end
def draw_it
@pcr.render :gel, start_x: -50, start_y: height/2,
- size: height/5, color: [0.7, 0.8, 0.8, 1.0]
+ size: height/5, color: [252, 0.8, 0.8, 1.0]
end
def mouse_clicked
draw_it
end