Pac-Man Vector Components
Loading the math board and drawing, please wait…
In collections
Vector Operations
This example uses the Pac-Man character to demonstrate vector components. It involves key mathematical concepts such as vectors, coordinates, and geometric triangles. Using GeoGebra commands like Vector, Translate, Rotate, Line, Surface, and Dilate, it dynamically shows the transformation of vector components. Suitable for high school math education and learning vector-related knowledge.
GeoGebra Commands & Parameters
Random(-5, 5) → aSequence(i, i, a + 1, 5, 1) → l3Sequence(i, i, -5, a - 1, 1) → l2Union(l2, l3) → l4Vector((xc, yc, zc)) → uRandom(-5, 5) → cRandomElement(l4) → bCurveCartesian(x(A) - sin(t), y(A) + cos(t), z(A), t, 0, π) → gTranslate(A, u) → A'Vector(A, A') → vRotate(A - (0, 1.5, 0), If[yc ≥ 0, α, (2 * π) - α], A, Line[A, A + (0, 0, 1)]) → DRotate(A + (0, 1.5, 0), If[yc ≥ 0, α, (2 * π) - α], A, Line[A, A + (0, 0, 1)]) → CRotate(g, If[yc ≥ 0, α, (2 * π) - α], A, Line[A, A + (0, 0, 1)]) → g'Rotate(g', If[zc ≥ 0, β, (2 * π) - β], A, If[zc ≥ 0, Line[C, D], Line[D, C]]) → g''Random(-5, 5) → dRandom(-5, 5) → eRandom(-5, 5) → fLine(C, D) → jSurface(g'', (3 * π / 4) + m, Line[C, D]) → kDilate(A, If[0 < l ≤ 1, 1 - l, 0], A') → A'_1Surface(g'', (3 * π / 4) + m, Line[D, C]) → iVector(A, A'_1) → wTranslate(i, w) → i'Translate(k, w) → k'Sequence(i, i, -5, 5, 1) → l1Segment(A, Food) → qVector((x(Food) - x(A), y(Food) - y(A), z(Food) - z(A))) → rMidpoint(q) → BMidpoint(A, B) → EMidpoint(B, Food) → FCircle(F, 1 / 2, y = 0) → sCircle(B, 1 / 2, y = 0) → c_1Circle(Food, 1 / 2, y = 0) → d_1Circle(E, 1 / 2, y = 0) → tRotate(d_1, q_{1}, Line[Food, Food + (0, 0, 1)]) → e_1Rotate(s, q_{1}, Line[F, F + (0, 0, 1)]) → f_1Rotate(c_1, q_{1}, Line[B, B + (0, 0, 1)]) → g_1Rotate(t, q_{1}, Line[E, E + (0, 0, 1)]) → t'
AI Drawing Prompt Reference
Draw a three-dimensional Pac-Man character with a semicircular body surface, rotated around a vertical axis to demonstrate vector components. The Pac-Man is placed at a random point and translated by a vector to a new position, with an arrow showing the displacement. In front of the Pac-Man, place a series of small spheres along a line segment, representing food pellets, each capable of rotating around its center. Include coordinate axes and a grid background to illustrate vector components and geometric relationships.
The prompt above was compiled from the original drawing commands and is for reference only.