t

t

t

t

f1

f2

f3

f4

Binärzähler sichtbar

t = 0 (slider from 0 to 320, step 1)
A: (t, Div[Mod[t, 10.0], 5.0])
B: (t, Div[Mod[t, 20.0], 10.0] + 2.0)
C: (t, Div[Mod[t, 40.0], 20.0] + 4.0)
D: (t, Div[Mod[t, 80.0], 40.0] + 6.0)
u = Vector((-5.0, 0.0), (325.0, 0.0))
v = Vector((-5.0, 2.0), (325.0, 2.0))
w = Vector((-5.0, 4.0), (325.0, 4.0))
z = Vector((-5.0, 6.0), (325.0, 6.0))
a = Vector((0.0, -0.33), (0.0, 1.33))
b = Vector((0.0, 1.67), (0.0, 3.33))
c = Vector((0.0, 3.67), (0.0, 5.33))
d = Vector((0.0, 5.67), (0.0, 7.33))
E = (120, 8.5)
F = (140, 8.5)
G = (160, 8.5)
H = (180, 8.5)
gatx = (20, 0)
gaty = (0, -2)
Vieleck1, e, f, g, h = LED(gatx, gaty, E)
Vieleck2, i, j, k, l = LED(gatx, gaty, F)
Vieleck3, m, n, p, q = LED(gatx, gaty, G)
Vieleck4, r, s, a_1, b_1 = LED(gatx, gaty, H)
c_1 = Segment((t, -(0.33)), (t, 7.33))
o = false
I = (100, 8.5)
J = (80, 8.5)
Vieleck5, d_1, e_1, f_1, g_1 = LED(gaty, gatx, I)
Vieleck6, h_1, i_1, j_1, k_1 = LED(gatx, gaty, J)

Tool: LED
Input: gatx, gaty, P
Output: Vieleck1, f_3, e_3, p_3, d_3

Vieleck1_1, p_1, d_1, e_1, f_1 = Polygon(P, P + 0.5 * gatx, P + 0.5 * gatx + 0.5 * gaty, P + 0.5 * gaty)
Vieleck1, p_3, d_3, e_3, f_3 = Polygon(P, P + 0.5 * gatx, P + 0.5 * gatx + 0.5 * gaty, P + 0.5 * gaty)