o.0? :: Shoes.app :width=>600, :height=>450 do
button "Slow" do
1.upto(60) do |theta|
append {line 0, 0, theta*10, 450}
end
end
button "Fast" do
append do
1.upto(60) do |theta|
line 600, 0, theta*10, 450
end
end
end
end
# I kind of like calling append a lot because its fun to watch things being
# drawn, but the performance on my machine is prohibitive. Is anyone else
# seeing similar things?
