2D 座標架
Author: 藍邦偉  老師

$ O $

旋轉

伸縮

鏡射

推移

1

2

3

$ 旋轉 $

$ 鏡射 $

$ 伸縮 $

$ 推移 $

u = Vector((x(Corner[1]), 0), (x(Corner[3]), 0))
v = Vector((0, y(Corner[1])), (0, y(Corner[3])))
O = (0, 0)
Q_2: 0.8 * Corner[1] + 0.2 * Corner[2]
Q_3: (x(Q_2), y(Corner[4]))
poly1, q_1, q_2, q_4, q_3 = Polygon(Corner[1], Q_2, Q_3, Corner[4])
α = 0 rad (slider from 0*° to 6.28318530717959, step 0.1*°)
a = 3 (slider from -5 to 5, step 0.1)
b = 3 (slider from -5 to 5, step 0.1)
c1 = false
c3 = false
c2 = false
c4 = false
A_1: (3 * cos(α), 3 * sin(α))
A_2: (3 * cos(α + 90°), 3 * sin(α + 90°))
θ = 0 rad (slider from 0 to 180*°, step 0.1*°)
L_2 = If(θ ≠ 90°, y = tan(θ) * x, x = 0)
picB' = Mirror(picB, L_2)
d1 = true
d2 = true
d3 = true