Right

Left

$\textsf{This equation has}$

$\textsf{NEW EQUATION}$

\hspace{150}

\hspace{150}

=

=

=

\text{Drag to explore}

1 = arrow left, 2 = arrow right, 3 = arrow uo, 4 = arrow down

reset

minx = -7
sols = Shuffle(Sequence[-5, 5])
solutions = Shuffle(Flatten[Sequence[Sequence[3], kk, 1, 10]])
formatNums = Shuffle(Sequence[6])
allowedFractions = Join({{1 / 2, 1 / 5, 2 / 5}, (-1 * {1 / 2, 1 / 5, 2 / 5})})
bNums = Shuffle(Flatten[{Sequence[-10, 10] \ {0}, allowedFractions}])
aNums = Shuffle(Flatten[{Sequence[-10, 10] \ {0, 1}, allowedFractions}])
questionCount = 0
formatNum = Element(formatNums, Mod[questionCount, Length[formatNums]] + 1)
int = Element(sols, Mod[questionCount + 1, Length[sols]] + 1)
aLight = Element({-2, -1, 2}, Mod[questionCount, 3] + 1)
a = If(formatNum ≥ 4, aLight, Element[aNums, Mod[questionCount, Length[aNums]] + 1])
cNums = Shuffle(Flatten[{Sequence[-10, 10] \ {0, 1, a}, allowedFractions}])
solutionsCurrent = If(questionCount ≟ 0, 1, Element[solutions, Mod[questionCount, Length[solutions]] + 1])
sol = Element(sols, Mod[questionCount, Length[sols]] + 1)
b = If(solutionsCurrent ≠ 1, Element[bNums, Mod[questionCount, Length[bNums]] + 1], int - (a * sol))
dNums = Shuffle(Flatten[{Sequence[-10, 10] \ {0, b}, allowedFractions}])
Cor3: (8, 3)
RightEndPoint2: (floor(x(Cor3) - (x(Corner[2] - Corner[1]) / 800 * 16)), 0)
Cor1: (-8, -7)
LeftEndPoint1: (floor(x(Cor1) + (x(Corner[2] - Corner[1]) / 800 * 16)) + 1, 0)
numberLine2 = Segment(LeftEndPoint1, RightEndPoint2)
A' = Point(numberLine2)
colors: {"#006758", "#5145A8", "#C75000", "#B00020"}
RightEndPoint: (x(Cor3) - (x(Corner[2] - Corner[1]) / 800 * 16), 0)
LeftEndPoint: (x(Cor1) + (x(Corner[2] - Corner[1]) / 800 * 16), 0)
numberLine = Segment(LeftEndPoint, RightEndPoint)
A: A' + (minx + 7, 0)
DifX: abs(x(A) - sol)
colorCase = If(solutionsCurrent ≟ 3, 1, solutionsCurrent ≟ 2, 4, If[DifX ≥ 10, 4, If[DifX ≥ 5, 3, If[DifX ≠ 0, 2, 1]]])
ColorDyn = Element(colors, colorCase)
c1 = Element(cNums, Mod[questionCount, Length[cNums]] + 1)
c = If(solutionsCurrent ≟ 1, c1, a)
fab(x) = (a * x) + b
d1 = Element(dNums, Mod[questionCount, Length[dNums]] + 1)
d = If(solutionsCurrent ≟ 3, b, solutionsCurrent ≟ 1, int - (c * sol), d1)
fcd(x) = (c * x) + d
fcdEval: fcd(x(A))
fcdEvalText: (If[fcdEval ≥ 0, "", "-"] * FractionText[abs(fcdEval)])
fabEval: fab(x(A))
fabEvalText: (If[fabEval ≥ 0, "", "-"] * FractionText[abs(fabEval)])
LeftEval42: "" + (LaTeX[(If[a ≤ 0, "-", ""] * If[abs(a) ≠ 1, (FractionText[abs(a)] * "\cdot"), ""])]) + "" + (LaTeX[((If[x(A) + b / a ≥ 0, "", "\left( -"] * FractionText[abs(x(A) + b / a)]) * If[x(A) + b / a ≥ 0, "", "\right)"])]) + ""
LeftEval32: "" + (LaTeX[(If[(c * x(A)) ≥ 0, "", "-"] * FractionText[abs((c * x(A)))])]) + "" + (LaTeX[(If[d ≟ 0, "", If[d ≤ 0, "-", "+"]] * If[d ≟ 0, "", FractionText[abs(d)]])]) + ""
LeftEval22: "" + (LaTeX[(If[b ≤ 0, "-", ""] * FractionText[abs(b)])]) + "" + (LaTeX[(If[(a * x(A)) ≤ 0, "-", "+"] * FractionText[abs((a * x(A)))])]) + ""
RightEval2 = Element({LeftEval32, LeftEval32, LeftEval22, LeftEval32, LeftEval32, LeftEval42}, formatNum)
LeftEval12: "" + (LaTeX[If[(a * x(A)) ≥ 0, "", "-"]]) + "" + (LaTeX[FractionText[abs((a * x(A)))]]) + "" + (LaTeX[If[b ≤ 0, "-", "+"]]) + "" + (LaTeX[FractionText[abs(b)]]) + ""
LeftEval2nd = Element({LeftEval12, LeftEval22, LeftEval32, LeftEval42, LeftEval42, LeftEval32}, formatNum)
LabelPoint: "" + (LaTeX[x(A)]) + ""
LeftEval5: "" + (LaTeX[(If[a ≤ 0, "-", ""] * If[abs(a) ≠ 1, FractionText[abs(a)], ""])]) + "\left(" + (LaTeX[(If[b / a ≤ 0, "-", ""] * FractionText[abs(b / a)])]) + "" + (LaTeX[(((((If[x(A) ≥ 0, "+", ""] * "\bold\textcolor{") * ColorDyn) * "}{") * LabelPoint) * "}")]) + "\right)"
LeftEval4: "" + (LaTeX[(If[a ≤ 0, "-", ""] * If[abs(a) ≠ 1, FractionText[abs(a)], ""])]) + "\left(\bold\textcolor{" + (LaTeX[ColorDyn]) + "}{" + (LaTeX[LabelPoint]) + "}" + (LaTeX[(If[b / a ≤ 0, "-\,", "+\,"] * FractionText[abs(b / a)])]) + "\right)"
LeftEval3: "" + (LaTeX[(If[c ≤ 0, "-", ""] * If[abs(c) ≠ 1, (FractionText[abs(c)] * "\cdot"), ""])]) + "\bold\textcolor{" + (LaTeX[ColorDyn]) + "}{" + (LaTeX[((If[x(A) ≥ 0, "", "\left("] * LabelPoint) * If[x(A) ≥ 0, "", "\right)"])]) + "}\," + (LaTeX[(If[d ≟ 0, "", If[d ≤ 0, "-\,", "+\,"]] * If[d ≟ 0, "", FractionText[abs(d)]])]) + ""
LeftEval2: "" + (LaTeX[If[b ≤ 0, "-", ""]]) + "" + (LaTeX[FractionText[abs(b)]]) + "\," + (LaTeX[If[a ≤ 0, "-", "+"]]) + "\," + (LaTeX[If[abs(a) ≠ 1, (FractionText[abs(a)] * "\cdot"), ""]]) + "\bold\textcolor{" + (LaTeX[ColorDyn]) + "}{" + (LaTeX[((If[x(A) ≥ 0, "", "\left("] * LabelPoint) * If[x(A) ≥ 0, "", "\right)"])]) + "}"
RightEval = Element({LeftEval3, LeftEval3, LeftEval2, LeftEval3, LeftEval3, LeftEval4}, formatNum)
LeftEval1: "" + (LaTeX[If[abs(a) ≠ 1, ((If[a ≥ 0, "", "-"] * FractionText[abs(a)]) * "\cdot"), ""]]) + "\bold\textcolor{" + (LaTeX[ColorDyn]) + "}{" + (LaTeX[((If[x(A) ≥ 0, "", "\left("] * LabelPoint) * If[x(A) ≥ 0, "", "\right)"])]) + "}\, " + (LaTeX[If[b ≤ 0, "-", "+"]]) + "\, " + (LaTeX[FractionText[abs(b)]]) + ""
LeftEval = Element({LeftEval1, LeftEval2, LeftEval3, LeftEval4, LeftEval5, LeftEval3}, formatNum)
Left1: "" + (LaTeX[If[a ≤ 0, "-", ""]]) + "" + (LaTeX[If[abs(a) ≠ 1, FractionText[abs(a)], ""]]) + "x" + (LaTeX[If[b ≤ 0, "-", "+"]]) + "" + (LaTeX[FractionText[abs(b)]]) + ""
AppSize = Corner(5)
b1 = Element(bNums, Mod[questionCount, Length[bNums]] + 1)
Left2: "" + (LaTeX[If[b ≤ 0, "-", ""]]) + "" + (LaTeX[FractionText[abs(b)]]) + "" + (LaTeX[If[a ≤ 0, "-", "+"]]) + "" + (LaTeX[If[abs(a) ≠ 1, FractionText[abs(a)], ""]]) + "x"
Left3: "" + (LaTeX[If[c ≤ 0, "-", ""]]) + "" + (LaTeX[If[abs(c) ≠ 1, FractionText[abs(c)]]]) + "x" + (LaTeX[If[d ≟ 0, "", If[d ≤ 0, "-", "+"]]]) + "" + (LaTeX[If[d ≟ 0, "", FractionText[abs(d)]]]) + ""
Left4: "" + (LaTeX[If[a ≤ 0, "-", ""]]) + "" + (LaTeX[If[abs(a) ≠ 1, FractionText[abs(a)]]]) + "\left(x" + (LaTeX[If[a / b ≤ 0, "-", "+"]]) + "" + (LaTeX[FractionText[abs(b / a)]]) + "\right)"
Left5: "" + (LaTeX[If[a ≤ 0, "-", ""]]) + "" + (LaTeX[If[abs(a) ≠ 1, FractionText[abs(a)], ""]]) + "\left(" + (LaTeX[If[b / a ≤ 0, "-", ""]]) + "" + (LaTeX[FractionText[abs(b / a)]]) + "+x\right)"
Left = Element({Left1, Left2, Left3, Left4, Left5, Left3}, formatNum)
Right = Element({Left3, Left3, Left2, Left3, Left3, Left4}, formatNum)
equation: "" + (LaTeX[Left]) + "=" + (LaTeX[Right]) + ""
borderLeft(x) = x ≤ x(Cor1) + (x(Corner[2] - Corner[1]) / 800 * 16)
borderRight(x) = x ≥ x(Cor3) - (x(Corner[2] - Corner[1]) / 800 * 16)
workedOutSol: "\begin{array}{rcl}\phantom{\frac{1}{2}}" + (LaTeX[LeftEval]) + "&=&" + (LaTeX[RightEval]) + "\phantom{\frac{1}{2}}\\" + (LaTeX[LeftEval2nd]) + "&=&" + (LaTeX[RightEval2]) + "\phantom{\frac{1}{2}}\\" + (LaTeX[If[formatNum ≟ 3 ∨ formatNum ≟ 6, fcdEvalText, fabEvalText]]) + "&=&" + (LaTeX[If[formatNum ≟ 3 ∨ formatNum ≟ 6, fabEvalText, fcdEvalText]]) + "\phantom{\frac{1}{2}}\end{array}"
dropDown = Zip((("$\textsf{" * AA) * " }$"), AA, {"\phantom{One Solution}", "One solution", "No solution", "Infinitely many solutions"})
correct: solutionsCurrent ≟ SelectedIndex[dropDown] - 1
text1 = If(correct, "Correct!", "Try again...")
text2: "\text{" + (LaTeX[text1]) + "}"
B = (-1.82, -4.4590163934426235)
posFB: {402, 328, 321, 428}
ticks = Sequence(Segment[(x(Cor1) + ii, -0.15), (x(Cor1) + ii, 0.15)], ii, 1, 15)
equationC: "\textsf{Look for the possible solutions of this equation:}\\\bold{" + (LaTeX[centerText["768", equation]]) + "}"
workedOutSolC: "" + (LaTeX[centerText["400", workedOutSol]]) + ""
C1: A1
A2: ("\phantom{\frac{1}{2}}" * LeftEval)
C2: (RightEval * "\phantom{\frac{1}{2}}")
A3: LeftEval2nd
C3: (RightEval2 * "\phantom{\frac{1}{2}}")
A4 = If(formatNum ≟ 3 ∨ formatNum ≟ 6, fcdEvalText, fabEvalText)
C4: (If[formatNum ≟ 3 ∨ formatNum ≟ 6, fabEvalText, fcdEvalText] * "\phantom{\frac{1}{2}}")
D4: ("\rightarrow\textsf{Difference: }" * round(fcdEval - fabEval, 2))
text3 = TableText({{A1, B1, C1, D1}, {A2, B2, C2, D2}, {A3, B3, C3, D3}, {A4, B4, C4, D4}}, "rclrh")
C: (x(Corner[2]) - (x(Corner[2] - Corner[1]) / 800 * 16), y(Corner[1]) + (y(Corner[4] - Corner[1]) / 500 * 270))
text4 = Text(text3, C, true, true, -1, -1)
MeterCenter: (x(Cor1) + (x(Cor3 - Cor1) / 800 * 160), -4.3)
sld = 1 (slider from 0 to 180)
meterNum: (180 * ℯ^(((-abs(fabEval - fcdEval))) / 10))
meterRadius: 2
meter_{1}, meter_{2}, meter_{3}, meter_{4}, meter_{5}, meter_{6}, meter_{7}, meter_{8}, meter_{9}, meter_{10}, meter_{11}, meter_{12}, meter_{13}, meter_{14}, meter_{15}, meter_{16}, meter_{17}, meter_{18}, meter_{19}, meter_{20}, meter_{21}, meter_{22}, meter_{23}, meter_{24}, meter_{25}, meter_{26}, meter_{27}, meter_{28}, meter_{29}, meter_{30}, meter_{31}, meter_{32}, meter_{33}, meter_{34}, meter_{35}, meter_{36}, meter_{37}, meter_{38}, meter_{39}, meter_{40}, meter_{41}, meter_{42}, meter_{43}, meter_{44}, meter_{45}, meter_{46}, meter_{47}, meter_{48}, meter_{49}, meter_{50}, meter_{51}, meter_{52}, meter_{53}, meter_{54}, meter_{55}, meter_{56}, meter_{57}, meter_{58}, meter_{59}, meter_{60}, meter_{61}, meter_{62}, meter_{63}, meter_{64}, meter_{65}, meter_{66}, meter_{67}, meter_{68}, meter_{69}, meter_{70}, meter_{71}, meter_{72}, meter_{73}, meter_{74}, meter_{75}, meter_{76}, meter_{77}, meter_{78}, meter_{79}, meter_{80}, meter_{81}, meter_{82}, meter_{83}, meter_{84}, meter_{85}, meter_{86}, meter_{87}, meter_{88}, meter_{89}, meter_{90}, meter_{91}, meter_{92}, meter_{93}, meter_{94}, meter_{95}, meter_{96}, meter_{97}, meter_{98}, meter_{99}, meter_{100}, meter_{101}, meter_{102}, meter_{103}, meter_{104}, meter_{105}, meter_{106}, meter_{107}, meter_{108}, meter_{109}, meter_{110}, meter_{111}, meter_{112}, meter_{113}, meter_{114}, meter_{115}, meter_{116}, meter_{117}, meter_{118}, meter_{119}, meter_{120}, meter_{121}, meter_{122}, meter_{123}, meter_{124}, meter_{125}, meter_{126}, meter_{127}, meter_{128}, meter_{129}, meter_{130}, meter_{131}, meter_{132}, meter_{133}, meter_{134}, meter_{135}, meter_{136}, meter_{137}, meter_{138}, meter_{139}, meter_{140}, meter_{141}, meter_{142}, meter_{143}, meter_{144}, meter_{145}, meter_{146}, meter_{147}, meter_{148}, meter_{149}, meter_{150}, meter_{151}, meter_{152}, meter_{153}, meter_{154}, meter_{155}, meter_{156}, meter_{157}, meter_{158}, meter_{159}, meter_{160}, meter_{161}, meter_{162}, meter_{163}, meter_{164}, meter_{165}, meter_{166}, meter_{167}, meter_{168}, meter_{169}, meter_{170}, meter_{171}, meter_{172}, meter_{173}, meter_{174}, meter_{175}, meter_{176}, meter_{177}, meter_{178}, meter_{179}, meter_{180}, meter_{181}, meter_{182}, meter_{183} = meterComplete(MeterCenter, meterRadius, meterNum)
onboardingX_{1}: 388
onboardingY_{1}: 208
onboardingCase_{1} = 3
OnboardingTextOffset_{1} = onboardingTextOffset(Corner[onboardingText_{1}, 1], Corner[onboardingText_{1}, 3], onboardingCase_{1}, Corner[1], Corner[3], Corner[5])
onboardingDisplayText_{1}: "\text{\vphantom{Og}" + (LaTeX[onboardingText_{1}]) + "}"
maxx = 7
onboarding = false
pulsingSpeed: 8
pulsing = 0 (slider from 0 to 1, step 0.1)
pulsingObject = circlePixels(A', 9 + (7 * pulsing), Corner[1], Corner[3], Corner[5])
l1 = Sequence(Text[(If[minx + ii - 1 ≥ 0, "\hspace{5}", ""] * (minx + ii - 1)), (x(Cor1) + ii, -0.4), true, true, 0, 0], ii, 1, 15)
LabelPointPos = Text(((If[x(A) ≥ 0, "\hspace{5}", ""] * LabelPoint) * "\\\\"), A', true, true, 0, 1)

Tool: centerText
centerText(sizeStr,textStr)
Input: sizeStr, textString
Output: centeredLatex

this is dynamic centered text

centeredLatex: (((("\begin{tabular}\hspace{" * sizeStr) * "}\\") * textString) * "\end{tabular}")

Tool: meterComplete
meterComplete[ <Point>, <Number>, <Number> ]
Input: A, dist, slidertoolNum
Output: seg1, seg2, seg3, seg4, seg5, seg6, seg7, seg8, seg9, seg10, seg11, seg12, seg13, seg14, seg15, seg16, seg17, seg18, seg19, seg20, seg21, seg22, seg23, seg24, seg25, seg26, seg27, seg28, seg29, seg30, seg31, seg32, seg33, seg34, seg35, seg36, seg37, seg38, seg39, seg40, seg41, seg42, seg43, seg44, seg45, seg46, seg47, seg48, seg49, seg50, seg51, seg52, seg53, seg54, seg55, seg56, seg57, seg58, seg59, seg60, seg61, seg62, seg63, seg64, seg65, seg66, seg67, seg68, seg69, seg70, seg71, seg72, seg73, seg74, seg75, seg76, seg77, seg78, seg79, seg80, seg81, seg82, seg83, seg84, seg85, seg86, seg87, seg88, seg89, seg90, seg91, seg92, seg93, seg94, seg95, seg96, seg97, seg98, seg99, seg100, seg101, seg102, seg103, seg104, seg105, seg106, seg107, seg108, seg109, seg110, seg111, seg112, seg113, seg114, seg115, seg116, seg117, seg118, seg119, seg120, seg121, seg122, seg123, seg124, seg125, seg126, seg127, seg128, seg129, seg130, seg131, seg132, seg133, seg134, seg135, seg136, seg137, seg138, seg139, seg140, seg141, seg142, seg143, seg144, seg145, seg146, seg147, seg148, seg149, seg150, seg151, seg152, seg153, seg154, seg155, seg156, seg157, seg158, seg159, seg160, seg161, seg162, seg163, seg164, seg165, seg166, seg167, seg168, seg169, seg170, seg171, seg172, seg173, seg174, seg175, seg176, seg177, seg178, seg179, f, c, d, t1

dist: 2
A: (9, 9)
B: A - (dist, 0)
l1 = Sequence(Rotate[B, ((-n))°, A], n, 1, 180)
B' = Mirror(B, A)
f = Segment(B, B')
c = CircleArc(A, B', B)
b = Distance(A, B)
C: A + (0, b / 6.4875)
D: C - (b, 0)
D' = Rotate(D, ((-slidertoolNum))°, C)
d = Circle(C, b / 8.65)
g = Segment(C, D')
E = Intersect(c, g)
t1 = Polygon({Intersect[d, Tangent[D', d]], Mirror[Intersect[d, Tangent[D', d]], g], E})
seg1 = Segment(A, l1(1))
seg2 = Segment(A, l1(2))
seg3 = Segment(A, l1(3))
seg4 = Segment(A, l1(4))
seg5 = Segment(A, l1(5))
seg6 = Segment(A, l1(6))
seg7 = Segment(A, l1(7))
seg8 = Segment(A, l1(8))
seg9 = Segment(A, l1(9))
seg10 = Segment(A, l1(10))
seg11 = Segment(A, l1(11))
seg12 = Segment(A, l1(12))
seg13 = Segment(A, l1(13))
seg14 = Segment(A, l1(14))
seg15 = Segment(A, l1(15))
seg16 = Segment(A, l1(16))
seg17 = Segment(A, l1(17))
seg18 = Segment(A, l1(18))
seg19 = Segment(A, l1(19))
seg20 = Segment(A, l1(20))
seg21 = Segment(A, l1(21))
seg22 = Segment(A, l1(22))
seg23 = Segment(A, l1(23))
seg24 = Segment(A, l1(24))
seg25 = Segment(A, l1(25))
seg26 = Segment(A, l1(26))
seg27 = Segment(A, l1(27))
seg28 = Segment(A, l1(28))
seg29 = Segment(A, l1(29))
seg30 = Segment(A, l1(30))
seg31 = Segment(A, l1(31))
seg32 = Segment(A, l1(32))
seg33 = Segment(A, l1(33))
seg34 = Segment(A, l1(34))
seg35 = Segment(A, l1(35))
seg36 = Segment(A, l1(36))
seg37 = Segment(A, l1(37))
seg38 = Segment(A, l1(38))
seg39 = Segment(A, l1(39))
seg40 = Segment(A, l1(40))
seg41 = Segment(A, l1(41))
seg42 = Segment(A, l1(42))
seg43 = Segment(A, l1(43))
seg44 = Segment(A, l1(44))
seg45 = Segment(A, l1(45))
seg46 = Segment(A, l1(46))
seg47 = Segment(A, l1(47))
seg48 = Segment(A, l1(48))
seg49 = Segment(A, l1(49))
seg50 = Segment(A, l1(50))
seg51 = Segment(A, l1(51))
seg52 = Segment(A, l1(52))
seg53 = Segment(A, l1(53))
seg54 = Segment(A, l1(54))
seg55 = Segment(A, l1(55))
seg56 = Segment(A, l1(56))
seg57 = Segment(A, l1(57))
seg58 = Segment(A, l1(58))
seg59 = Segment(A, l1(59))
seg60 = Segment(A, l1(60))
seg61 = Segment(A, l1(61))
seg62 = Segment(A, l1(62))
seg63 = Segment(A, l1(63))
seg64 = Segment(A, l1(64))
seg65 = Segment(A, l1(65))
seg66 = Segment(A, l1(66))
seg67 = Segment(A, l1(67))
seg68 = Segment(A, l1(68))
seg69 = Segment(A, l1(69))
seg70 = Segment(A, l1(70))
seg71 = Segment(A, l1(71))
seg72 = Segment(A, l1(72))
seg73 = Segment(A, l1(73))
seg74 = Segment(A, l1(74))
seg75 = Segment(A, l1(75))
seg76 = Segment(A, l1(76))
seg77 = Segment(A, l1(77))
seg78 = Segment(A, l1(78))
seg79 = Segment(A, l1(79))
seg80 = Segment(A, l1(80))
seg81 = Segment(A, l1(81))
seg82 = Segment(A, l1(82))
seg83 = Segment(A, l1(83))
seg84 = Segment(A, l1(84))
seg85 = Segment(A, l1(85))
seg86 = Segment(A, l1(86))
seg87 = Segment(A, l1(87))
seg88 = Segment(A, l1(88))
seg89 = Segment(A, l1(89))
seg90 = Segment(A, l1(90))
seg91 = Segment(A, l1(91))
seg92 = Segment(A, l1(92))
seg93 = Segment(A, l1(93))
seg94 = Segment(A, l1(94))
seg95 = Segment(A, l1(95))
seg96 = Segment(A, l1(96))
seg97 = Segment(A, l1(97))
seg98 = Segment(A, l1(98))
seg99 = Segment(A, l1(99))
seg100 = Segment(A, l1(100))
seg101 = Segment(A, l1(101))
seg102 = Segment(A, l1(102))
seg103 = Segment(A, l1(103))
seg104 = Segment(A, l1(104))
seg105 = Segment(A, l1(105))
seg106 = Segment(A, l1(106))
seg107 = Segment(A, l1(107))
seg108 = Segment(A, l1(108))
seg109 = Segment(A, l1(109))
seg110 = Segment(A, l1(110))
seg111 = Segment(A, l1(111))
seg112 = Segment(A, l1(112))
seg113 = Segment(A, l1(113))
seg114 = Segment(A, l1(114))
seg115 = Segment(A, l1(115))
seg116 = Segment(A, l1(116))
seg117 = Segment(A, l1(117))
seg118 = Segment(A, l1(118))
seg119 = Segment(A, l1(119))
seg120 = Segment(A, l1(120))
seg121 = Segment(A, l1(121))
seg122 = Segment(A, l1(122))
seg123 = Segment(A, l1(123))
seg124 = Segment(A, l1(124))
seg125 = Segment(A, l1(125))
seg126 = Segment(A, l1(126))
seg127 = Segment(A, l1(127))
seg128 = Segment(A, l1(128))
seg129 = Segment(A, l1(129))
seg130 = Segment(A, l1(130))
seg131 = Segment(A, l1(131))
seg132 = Segment(A, l1(132))
seg133 = Segment(A, l1(133))
seg134 = Segment(A, l1(134))
seg135 = Segment(A, l1(135))
seg136 = Segment(A, l1(136))
seg137 = Segment(A, l1(137))
seg138 = Segment(A, l1(138))
seg139 = Segment(A, l1(139))
seg140 = Segment(A, l1(140))
seg141 = Segment(A, l1(141))
seg142 = Segment(A, l1(142))
seg143 = Segment(A, l1(143))
seg144 = Segment(A, l1(144))
seg145 = Segment(A, l1(145))
seg146 = Segment(A, l1(146))
seg147 = Segment(A, l1(147))
seg148 = Segment(A, l1(148))
seg149 = Segment(A, l1(149))
seg150 = Segment(A, l1(150))
seg151 = Segment(A, l1(151))
seg152 = Segment(A, l1(152))
seg153 = Segment(A, l1(153))
seg154 = Segment(A, l1(154))
seg155 = Segment(A, l1(155))
seg156 = Segment(A, l1(156))
seg157 = Segment(A, l1(157))
seg158 = Segment(A, l1(158))
seg159 = Segment(A, l1(159))
seg160 = Segment(A, l1(160))
seg161 = Segment(A, l1(161))
seg162 = Segment(A, l1(162))
seg163 = Segment(A, l1(163))
seg164 = Segment(A, l1(164))
seg165 = Segment(A, l1(165))
seg166 = Segment(A, l1(166))
seg167 = Segment(A, l1(167))
seg168 = Segment(A, l1(168))
seg169 = Segment(A, l1(169))
seg170 = Segment(A, l1(170))
seg171 = Segment(A, l1(171))
seg172 = Segment(A, l1(172))
seg173 = Segment(A, l1(173))
seg174 = Segment(A, l1(174))
seg175 = Segment(A, l1(175))
seg176 = Segment(A, l1(176))
seg177 = Segment(A, l1(177))
seg178 = Segment(A, l1(178))
seg179 = Segment(A, l1(179))

Tool: circlePixels
circlePixels(A,pixelRadius,Corner1,Corner3,Corner5
Input: A, pixelRadius, Corner1, Corner3, Corner5
Output: newCircle

pointRadius: (pixelRadius / x(Corner5) * (x(Corner3) - x(Corner1)))
newCircle = Circle(A, pointRadius)

Tool: onboardingTextOffset
onboardingTextOffset(textCorner1,textCorner3,case,corner1,corner3,corner5)
Input: CornerText1, CornerText3, case, Corner1, Corner3, Corner5
Output: TextOffset

xPixels: ((x(CornerText3) - x(CornerText1)) * x(Corner5) / (x(Corner3) - x(Corner1)))
yPixels: ((y(CornerText3) - y(CornerText1)) * y(Corner5) / (y(Corner3) - y(Corner1)))
xOffset = Element({27, (-xPixels) + 2, 16 - xPixels / 2, 16 - xPixels / 2}, case)
yOffset = Element({-23, -23, yPixels - 27, -49}, case)
TextOffset: (xOffset, yOffset)

Tool: onboardingTextOffset (command onboardingTextOffset1)
onboardingTextOffset(textCorner1,textCorner3,case,corner1,corner3,corner5)
Input: CornerText1, CornerText3, case, Corner1, Corner3, Corner5
Output: TextOffset

xPixels: ((x(CornerText3) - x(CornerText1)) * x(Corner5) / (x(Corner3) - x(Corner1)))
yPixels: ((y(CornerText3) - y(CornerText1)) * y(Corner5) / (y(Corner3) - y(Corner1)))
xOffset = Element({27, (-xPixels) + 2, 16 - xPixels / 2, 16 - xPixels / 2}, case)
yOffset = Element({-23, -23, yPixels - 27, -49}, case)
TextOffset: (xOffset, yOffset)

Tool: circlePixels (command circlePixels1)
circlePixels(A,pixelRadius,Corner1,Corner3,Corner5
Input: A, pixelRadius, Corner1, Corner3, Corner5
Output: newCircle

pointRadius: (pixelRadius / x(Corner5) * (x(Corner3) - x(Corner1)))
newCircle = Circle(A, pointRadius)