All fractions on a number line
Loading the math board and drawing, please wait…
GeoGebra Commands & Parameters
Random(1, 9) → dRandom(2, d) → nVector((0, 0), (1, 0)) → uMod(n, d) → remainderIf(remainder ≟ 0, whole, whole + 1) → endNumberPolygon(A, B, 4) → poly1, a, b, c, e, C, DSequence(B + (i * u), i, 0, whole) → SecondLowSequence(A + (i * u), i, 0, whole) → FirstLowZip(Polygon[X, Y, 4], X, FirstLow, Y, SecondLow) → list1Sequence(Point[A, Vector[(i * u / d)]], i, 1, n) → PtBottomSequence(Point[D, Vector[(i * u / d)]], i, 1, n) → PtTopAppend(D, Take[PtTop, 1, n - 1]) → PtTop1Append(A, Take[PtBottom, 1, n - 1]) → PtBottom1Zip(Polygon[E, F, G, H], E, PtBottom1, F, PtBottom, G, PtTop, H, PtTop1) → list2Polygon(C, B, 4) → poly2, f, g, h, i, E, FPolygon(F, E, 4) → poly3, j, k, l, m, G, HPolygon(H, G, 4) → poly4, p, q, r, s, I, JPolygon(J, I, 4) → poly5, t, a_1, b_1, c_1, K, LPolygon(L, K, 4) → poly6, d_1, e_1, f_1, g_1, M, NSequence(Point[OO, Vector[(i * u / d)]], i, 1, (10 * d)) → list3Element(list3, n) → ZZip(Segment[M, N], M, list3, N, PtBottom) → list4Segment(A, OO) → h_1Sequence(Point[D, Vector[(i * u / d)]], i, 1, (d * endNumber)) → allTopSequence(Point[A, Vector[(i * u / d)]], i, 1, (d * endNumber)) → allBottZip(Segment[M, N], M, allTop, N, allBott) → list5Corner(text3, 2) → BBCorner(text3, 3) → CCCorner(text3, 4) → DDCorner(text3, 1) → AAPolygon(AA, BB, CC, DD) → frame, aa, bb, cc, ddMidpoint(AA, BB) → MMPoint(xAxis) → O
AI Drawing Prompt Reference
Draw a number line dynamically displaying all fractions, including proper, improper, and mixed numbers, with geometric shapes like trapezoids to emphasize fraction intervals. Start by randomly generating a fraction, splitting it into whole and remainder parts, then mark the integer part on the number line and draw finer fraction markers based on the remainder. Represent each fraction as a hexagon, connect the fraction points to the number line with auxiliary lines below, and frame the entire display with a rectangle.
The prompt above was compiled from the original drawing commands and is for reference only.