Demo: Constrain a Segment to 15° Intervals

Demo: Constrain a Segment to 15° Intervals
Loading the math board and drawing, please wait…
2019-03-20 19:23
This demo shows how to use the DynamicCoordinates() function to constrain a segment to 15° intervals. Core math concepts include angles and vectors. Constructed using Vector, Sequence, DynamicCoordinates, Segment commands, it is suitable for geometry construction lessons.

GeoGebra Commands & Parameters

  1. Vector(A, B) → u
  2. Sequence((x(A) + (Length[u] * cos(t°)), y(A) + (Length[u] * sin(t°))), t, 0, 345, 15) → VPoints
  3. DynamicCoordinates(B, x(ClosestPoint[VPoints, B]), y(ClosestPoint[VPoints, B])) → C
  4. Vector(A, C) → v
  5. Segment(A, C) → f