Fraction Quilt

Fraction Quilt
Loading the math board and drawing, please wait…
2020-03-06 03:10
This example dynamically demonstrates fractions and rotation to construct a fraction quilt pattern. It involves core math concepts like fractions, rotation, circle, sequence, and conditional logic. Construction highlights the use of GeoGebra commands/objects such as Sequence, Textfield, If, and First. Suitable for middle school and above to understand fractions, geometric transformations, and computational thinking.

GeoGebra Commands & Parameters

  1. Sequence(Sequence[floor(f(i, j)), i, 1, n], j, 1, n2) → m1
  2. Textfield(f) → InputBox1
  3. Sequence(Sequence[Random[0, 3], i, 1, n], j, 1, n2) → m0
  4. If(a, m1, m0) → m2
  5. Textfield(r) → InputBox2
  6. Sequence(Sequence[Translate[Rotate[Polygon[(r, 0), (1, 0), (1, 1), (r, 1)], (Element[m2, j, i] * 90°), (0.5, 0.5)], (i, j)], i, 1, n], j, 1, n2) → l1
  7. Sequence(Sequence[Translate[Rotate[Segment[(r, 0), (r, 1)], (Element[m2, j, i] * 90°), (0.5, 0.5)], (i, j)], i, 1, n], j, 1, n2) → l3
  8. Sequence(Sequence[Translate[Rotate[Polygon[(r, 0), (0, 0), (0, 1), (r, 1)], (Element[m2, j, i] * 90°), (0.5, 0.5)], (i, j)], i, 1, n], j, 1, n2) → l2
  9. First(Shuffle[Flatten[l1]], k) → l4

AI Drawing Prompt Reference

Create a fraction quilt pattern using rotation and translation. First, generate a series of random numbers based on the input in box 1, then use the rotation angle from box 2 to rotate and translate these numbers into multiple polygons and triangles, which will be assembled into a complete quilt pattern.
The prompt above was compiled from the original drawing commands and is for reference only.