座標平面的方程式
Author: 藍邦偉  老師

x

y

z

顯示單位向量

顯示平面

顯示平面

顯示平面

顯示座標軸

z=

x=

Reset

y=

c1 = 0
L = 7 (slider from 1 to 10, step 1)
O = (-1.3881873342237532, 1.2445214862283664)
A: (x((Corner[3] + 39 * Corner[4]) / 40), y((Corner[1] + 9 * Corner[4]) / 10))
B: (x((4 * Corner[3] + 16 * Corner[4]) / 20), y((Corner[1] + 9 * Corner[4]) / 10))
D: (3 * B + A) / 4
a = Segment(A, B)
E = Point(a)
b1 = 0
a1 = 0
C: (3 * A + B) / 4
E' = Rotate(Translate[E, Vector[C, D]], 90*°, D)
c = Circle(C, E)
c' = Translate(c, Vector[C, D])
G = Point(c')
c'' = Rotate(c', 270*°, C)
F = Point(c'')
A' = Rotate(A, 270*°, C)
B' = Rotate(B, 270*°, C)
a' = Segment(A', B')
D' = Rotate(D, 270*°, C)
b = Segment(D', F)
E'' = Rotate(E', 270*°, C)
α = Angle(E'', D', F)
d = Segment(D, G)
β = Angle(G, D, E')
K: C + (0, b * cos(β))
K' = Translate(K, Vector[C, O])
w = Vector(O, K')
J: C + (b * cos(α + 90°), b * sin(α + 90°) * sin(β))
J' = Translate(J, Vector[C, O])
v = Vector(O, J')
I: C + (b * cos(α), b * sin(α) * sin(β))
I' = Translate(I, Vector[C, O])
u = Vector(O, I')
e = Segment(C, K)
f = Segment(C, I)
g = Segment(C, J)
I'' = Dilate(I', L, O)
J'' = Dilate(J', L, O)
K'' = Dilate(K', L, O)
I''' = Dilate(I'', -1, O)
J''' = Dilate(J'', -1, O)
K''' = Dilate(K'', -1, O)
u' = Vector(I''', I'')
v' = Vector(J''', J'')
w' = Vector(K''', K'')
h = Segment(D', E'')
i = Segment(D, E')
軌跡1 = Locus(I, F)
L_{axis}: L
k = false
P_2: O + (L - 1) * u - (L - 1) * v + a1 * w
P_3: O - (L - 1) * u - (L - 1) * v + a1 * w
P_4: O - (L - 1) * u + (L - 1) * v + a1 * w
P_1: O + (L - 1) * u + (L - 1) * v + a1 * w
多邊形1, p_1, p_2, p_3, p_4 = Polygon(P_1, P_2, P_3, P_4)
j = false
Q_2: O - (L - 1) * v + (L - 1) * w + b1 * u
Q_3: O - (L - 1) * v - (L - 1) * w + b1 * u
Q_4: O + (L - 1) * v - (L - 1) * w + b1 * u
Q_1: O + (L - 1) * v + (L - 1) * w + b1 * u
多邊形2, q_1, q_2, q_3, q_4 = Polygon(Q_1, Q_2, Q_3, Q_4)
m = false
R_2: O - (L - 1) * u + (L - 1) * w + c1 * v
R_3: O - (L - 1) * u - (L - 1) * w + c1 * v
R_4: O + (L - 1) * u - (L - 1) * w + c1 * v
R_1: O + (L - 1) * u + (L - 1) * w + c1 * v
多邊形3, r_1, r_2, r_3, r_4 = Polygon(R_1, R_2, R_3, R_4)
n = false
l = true
inputBox1 = Textfield(a1)
inputBox2 = Textfield(b1)
inputBox3 = Textfield(c1)
list1 = Sequence(O + k * u, k, -L + 1, L - 1)
list2 = Sequence(O + k * v, k, -L + 1, L - 1)
list3 = Sequence(O + k * w, k, -L + 1, L - 1)
P_5: 0.5 * (P_1 + P_2)
P_6: 0.5 * (P_3 + P_2)
P_7: 0.5 * (P_3 + P_4)
P_8: 0.5 * (P_1 + P_4)
p = Segment(P_5, P_7)
q = Segment(P_6, P_8)
Q_5: 0.5 * (Q_1 + Q_2)
Q_6: 0.5 * (Q_3 + Q_2)
Q_7: 0.5 * (Q_3 + Q_4)
Q_8: 0.5 * (Q_1 + Q_4)
r = Segment(Q_5, Q_7)
s = Segment(Q_6, Q_8)
R_5: 0.5 * (R_1 + R_2)
R_6: 0.5 * (R_3 + R_2)
R_7: 0.5 * (R_3 + R_4)
R_8: 0.5 * (R_1 + R_4)
t = Segment(R_8, R_6)
a_1 = Segment(R_5, R_7)