Double number line tool

tick marks

name 1

name 2

quantity 1:

Q1

quantity 2:

Q2

major intervals

on/off

split2

or

more tickmarks

tickmarks

bwd = 1 (slider from 1 to 15, step 1)
Q2Jump = 1 (slider from 1 to 200, step 1)
Q1Jump = 1 (slider from 1 to 200, step 1)
scale: 11 - bwd
InputBox2 = Textfield(text4)
InputBox4 = Textfield(Q1Jump)
InputBox3 = Textfield(text5)
InputBox5 = Textfield(Q2Jump)
a: y = 0
h = 2 (slider from -5 to 5, step 0.1)
b: y = h
A: (0, 0)
B: (0, h)
D = Point(a)
C: (x(D), h)
c = Segment(A, D)
d = Segment(B, C)
xOffSet = -0.3 (slider from -1 to 1, step 0.05)
yOffSet = -0.9 (slider from -1 to 1, step 0.05)
topxOffSet = -0.2 (slider from -1 to 1, step 0.05)
E: (0, 0)
F: (0, h)
G: (scale, 0)
H: (scale, h)
text6 = Text("20%", (scale - 0.25, y(A) + yOffSet))
text7 = Text(8, (scale - 0.12, y(B) + yOffSet))
e: c / (11 - scale)
f: 11 - scale
g = GCD(Q1Jump, Q2Jump)
j = true
I: (x(D) + 0.35, y(D))
J: (x(C) + 0.35, y(C))
i = Segment(A, I)
k = Segment(B, J)
text2 = Text(0, (x(A) - 0.12, y(A) - (1.2 * yOffSet)))
Q1marks = Sequence(((e * v), h), v, 0, f)
Q2marks = Sequence(((e * k), 0), k, 0, f)
TextQ1 = Sequence(Text[(q * Q1Jump), ((e * q) + topxOffSet, y(B) + yOffSet)], q, 1, f)
TextQ2 = Sequence(Text[(p * Q2Jump), ((e * p) + xOffSet, y(A) + yOffSet)], p, 1, f)
TextQ1split2 = Sequence(Text[(q * Q1Jump / 2), ((e / 2 * q) + topxOffSet, y(B) + yOffSet)], q, 1, (f * 2))
Q1split2 = Sequence(((e / 2 * l), h), l, 0, (f * 2))
w = false
Q2split2 = Sequence(((e / 2 * k), 0), k, 0, (f * 2))
TextQ2split2 = Sequence(Text[(p * Q2Jump / 2), ((e / 2 * p) + (1.1 * xOffSet), y(A) + yOffSet)], p, 1, (f * 2))
text3 = Text(0, (x(B) - 0.12, y(B) + (3.2 * yOffSet)))
s = 1 (slider from 1 to 10, step 1)
Q1split = Sequence(((e / s * l), h), l, 0, (f * s))
Q2split = Sequence(((e / s * k), 0), k, 0, (f * s))
TextQ1split = Sequence(Text[(q * Q1Jump / s), ((e / s * q) + topxOffSet, y(B) + yOffSet)], q, 1, (f * s))
TextQ2split = Sequence(Text[(p * Q2Jump / s), ((e / s * p) + xOffSet, y(A) + yOffSet)], p, 1, (f * s))