$\bold\textcolor{#252525}{\textsf{%x km}}$

$\bold\textcolor{#252525}{\textsf{herd}}$

$\textsf{¡REGRESAR A LA VAQUERÍA!}$

\text{bottomtext.}

Reset App

Restart

\text{Drag to fill in\
the grid.}

\text{Un ranchero registra la distancia caminada por cada vaca de un grupo, para poder monitorear\
la salud de la vaquería.}

$\bold\textcolor{#252525}{\textsf{%x}}$

$\bold\textcolor{#252525}{\textsf{%x}}$

$\bold\textcolor{#252525}{\textsf{%x}}$

$\bold\textcolor{#252525}{\textsf{%x}}$

$\bold\textcolor{#252525}{\textsf{%x}}$

$\bold\textsf{%v}$

$\bold\textcolor{#252525}{\textsf{%x}}$

$\bold\textcolor{#252525}{\textsf{%x}}$

$\bold\textcolor{#252525}{\textsf{%x}}$

$\bold\textcolor{#252525}{\textsf{%x}}$

$\bold\textcolor{#252525}{\textsf{%x}}$

$\bold\textcolor{#008475}{\textsf{%v km}}$

\text{Arrastra para caminar}

S2: (4, 0)
S1: (0, 0)
ptGrid = Sequence((k, y(S1)), k, x(S1), x(S2), 0.1)
segmDec = Segment(S1, S2)
isClicked = false
arrowLeft = Segment(S1, S1 - (1, 0))
A = Point(ptGrid)
B = Point(ptGrid)
C = Point(ptGrid)
D = Point(ptGrid)
E = Point(ptGrid)
correctA: true
correctB: true
correctC: true
correctD: true
correctE: true
numCows = 4 (slider from 0 to 10, step 1)
F = Point(ptGrid)
G = Point(ptGrid)
H = Point(ptGrid)
I = Point(ptGrid)
J = Point(ptGrid)
allCows: {A, B, C, D, E, F, G, H, I, J}
allVisibleCows = Take(allCows, 1, numCows)
arrowRight = Segment(S2, S2 + (0.1, 0))
longTicks1 = Sequence(Segment[(t, y(S1) - 0.1), (t, y(S1) + 0.1)], t, x(S1), x(S2), 1)
mediumTicks1 = Sequence(Segment[(t, y(S1) - 0.05), (t, y(S1) + 0.05)], t, x(S1), x(S2), 0.5)
shortTicks1 = Sequence(Segment[(t, y(S1) - 0.05 / 2), (t, y(S1) + 0.05 / 2)], t, x(S1), x(S2), 0.25)
correct: correctA
allCowsOnPath = Sort(KeepIf[y(P) ≟ 0 ∧ x(P) ≠ 0, P, allCows])
C1 = Element(First[allCowsOnPath], 1)
CL = Element(Last[allCowsOnPath], 1)
segmRange = Segment(Element[allCowsOnPath, 1] - (0, 0.5), CL - (0, 0.5))
textRange: "\text{El rango de distancias caminadas es " + (LaTeX[segmRange]) + " km.}"
onboarding = true
pulsingSpeed: 8
pulsing = 0.8 (slider from 0 to 1, step 0.1)
pulsingObject1 = circlePixels(E, 7 + (7 * pulsing), Corner[1], Corner[3], Corner[5])
labelE = Text(("" * x(E)), E + (-0.1, -0.1), true, true)
labelA = Text(("" * x(A)), A + (-0.1, -0.1), true, true)
labelB = Text(("" * x(B)), B + (-0.1, -0.1), true, true)
labelC = Text(("" * x(C)), C + (-0.1, -0.1), true, true)
labelD = Text(("" * x(D)), D + (-0.1, -0.1), true, true)
labelF = Text(("" * x(F)), F + (-0.1, -0.1), true, true)
labelG = Text(("" * x(G)), G + (-0.1, -0.1), true, true)
labelH = Text(("" * x(H)), H + (-0.1, -0.1), true, true)
labelI = Text(("" * x(I)), I + (-0.1, -0.1), true, true)
labelJ = Text(("" * x(J)), J + (-0.1, -0.1), true, true)
pulsingObject2 = circlePixels(D, 7 + (7 * pulsing), Corner[1], Corner[3], Corner[5])
tabOrder: {textQuestion, A, B, C, D, E, F, G, H, I, J, segmRange, textRange, btnNew}
labelHerd = Text("vaquería", (0, 0) + (-0.15, -0.1), true, true)
K = (-0.043307775726644675, -0.42269013865552113)
L = (0.09664752539350974, -0.42269013865552113)

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)