A short text syntax
One line per figure. M=mid A,B is the midpoint, c=circ A,B,C the circle through three points. Change a line and the figures that depend on it follow.
Describe points, lines, circles, polygons and function plots with a short text syntax, and get an SVG that students can move.
A(0,0)->label=A/bl,drag
B(6,1)->label=B/br,drag
C(2,5)->label=C/tl,drag
t=poly A,B,C->fill=lightblue/0.4
c=circ A,B,C->blue,dash
M=mid A,B->red,label=M/bc
N=mid B,C->red,label=N/mr
P=mid C,A->red,label=P/mlDrag a vertex: the triangle, the circle and the midpoints follow it, because each line is built on the figures named before it. The option drag is all it takes. See Getting started.