30 likes | 313 Views
What image does d3 describe? (define d1 (drawing-scale drawing-unit-circle 15) ) (drawing-recolor d1 "blue") (define d2 (drawing-recolor (drawing- vshift d1 20) "red")) (define d3 (drawing-group d1 d2)). Red and blue overlapping circles, stacked vertically, red higher.
E N D
What image does d3 describe?(define d1 (drawing-scale drawing-unit-circle 15))(drawing-recolor d1 "blue")(define d2 (drawing-recolor (drawing-vshift d1 20) "red"))(define d3 (drawing-group d1 d2)) • Red and blue overlapping circles, stacked vertically, red higher. • Red and blue non-overlapping circles, stacked vertically, blue higher. • Red and black overlapping circles, stacked vertically, black higher. • Red and black overlapping circles, side-by-side. • Noneof the above
What image does d3 describe?(define d1 (drawing-scale drawing-unit-circle 15))(drawing-recolor d1 "blue")(define d2 (drawing-recolor (drawing-vshift d1 20) "red"))(define d3 (drawing-group d1 d2))
Which expression is most likely to do what you mean? • (drawing-scale drawing-unit-square 10)(drawing-vshift drawing-unit-square 30) • (drawing-scale (drawing-vshiftdrawing-unit-square 30) 10) • (drawing-vshift (drawing-scale drawing-unit-square 10) 30) • Both of the above are the same • I’m not sure