context.rotate(Math.PI / 2); context.rotate(Math.PI / 2);
? context.rotate(Math.PI);
context.rotate(-Math.PI);
context.rotate(2 * Math.PI);
context.rotate(-2* Math.PI);
context.rotate(90);
<g stroke="red", fill="green" transform="translate(10 10)">
, and there is a rectangle inside the group <rect x="0" y="0" stroke="blue")>
, which of the following are attributes of the rectangle? stroke="blue"
fill="green"
transform="translate(10 10)"
fill=""
stroke="red"
r
is [[a, b], [c, d]]
, what is the rotation matrix with angle -r
? (This should apply to any value of r
.) [[a, c], [b, d]]
and [[a, -b], [-c, d]]
happens to be identical, so they are both correct answers. [[a, c], [b, d]]
[[a, -b], [-c, d]]
[[d, b], [c, a]]
[[-a, b], [c, -d]]
[[a, b], [c, d]]
[[a, b], [c, d]]
in 2D? a * d - b * c > 0
a * c + b * d = 0
a * a + b * b = 1
a * d + b * c = 0
a * a + d * d = 1
[[2, 0], [0, 2]]
[[2, 0], [0, -2]]
[[-2, 0], [0, 2]]
[[0, 2], [2, 0]]
[[0, -2], [-2, 0]]
[8, 4, 2]
? [4, 2]
[8, 4]
[16, 8]
[2, 4]
[4, 8]
[0, 0], [1, 0], [0, 1], [1, 1]
is transformed in [2, 3], [4, 5], [6, 7], [8, 9]
(order does not matter)? context.transform(2, 2, 4, 4, 2, 3)
context.transform(4, 4, 2, 2, 2, 3)
context.transform(6, 6, 4, 4, 2, 3)
context.transform(2, 2, 6, 6, 2, 3)
context.transform(4, 5, 6, 7, 2, 3)
Last Updated: November 30, 2024 at 4:35 AM