Initial implementation of curves

Contributes to #37
This commit is contained in:
Andy Meneely
2015-03-19 18:15:24 -04:00
parent 6f40e1db99
commit 2cc9cc8e93
8 changed files with 68 additions and 3 deletions
+5
View File
@@ -15,5 +15,10 @@ Squib::Deck.new do
x2: 150, y2: 650,
stroke_width: 25.0
curve x1: 50, y1: 850, dx1: 150, dy1: 700,
x2: 625, y2: 900, dx2: 150, dy2: 700,
stroke_width: 12.0, stroke_color: :cyan,
fill_color: :burgundy
save_png prefix: 'shape_'
end