far

near

f = 4.9 (slider from 0.1 to 10)
n = 0.6 (slider from 0.1 to 5)
off = 0 (slider from -4 to 4)
D = (1, 7)
E = (1, -7)
E_1: (f, -7)
D_1: (f, 7)
h_1 = Line(D_1, E_1)
A_1 = Point(h_1)
B_1 = Point(h_1)
E_2: (n, -7)
D_2: (n, 7)
h_2 = Line(D_2, E_2)
t_1 = Point(h_2)
b_1 = Point(h_2)
sz = 1 (slider from 0.1 to 10)
Cam: (0, off)
t: (1, sz / 2)
g = Ray(Cam, t)
b: (1, ((-sz)) / 2)
h = Ray(Cam, b)
i = Line(t, b)
nt = Intersect(h_2, g)
nb = Intersect(h, h_2)
fb = Intersect(h, h_1)
ft = Intersect(g, h_1)
q1, f_1, g_1, h_3, i_1 = Polygon(nt, nb, fb, ft)
Pc = (4.247467357116339, 0.9659472004644605)
j = Line(Pc, Cam)
Ps = Intersect(j, i)