Shapes
Closed shape marks for a graph environment. They are positioned the same way, take the same attributes and animate identically — the outline is the only difference.
#Members
7 members, differing only in the outline drawn. Each has its own page.
circleA circle centred at (x, y), with
size as its radius. One of seven shape marks that differ only in the outline drawn.squareA square centred at (x, y), scaled by size. One of seven shape marks that differ only in the outline drawn.rectangleA rectangle centred at (x, y), scaled by size. One of seven shape marks that differ only in the outline drawn.triangleA triangle centred at (x, y), scaled by size. One of seven shape marks that differ only in the outline drawn.starA five-pointed star centred at (x, y), scaled by size. One of seven shape marks that differ only in the outline drawn.diamondA diamond centred at (x, y), scaled by size. One of seven shape marks that differ only in the outline drawn.hexagonA hexagon centred at (x, y), scaled by size. One of seven shape marks that differ only in the outline drawn.Syntax
circle(x: 0; y: 0; size: 2)
square(x: 0; y: 0; size: 2)
rectangle(x: 0; y: 0; size: 2)
triangle(x: 0; y: 0; size: 2)
star(x: 0; y: 0; size: 2)
diamond(x: 0; y: 0; size: 2)
hexagon(x: 0; y: 0; size: 2)#Shared attributes
Declared identically by every member — defaults included. Anything a member adds on top is on its own page.
On any plane
colour
Also written: colorColour.
Default
purpleDraws the outline dashed — the shape that is not there: a construction, a ghost of a previous position, a region ruled out. As
polygon's and segment's.Default
falseText drawn beside the element — rich text, so
$maths$ and inline formatting render. Fades and draws with the element.Declared but not drawn. Animatable —
hidden: true !cue.to{false}(at: 2) reveals it — and unlike a cue, a hidden element still frames the plot, so the axes do not jump when it appears.Default
falseAlso written: lockedKeeps the reader from editing this element on an
editable: graph. Nothing at all on a graph that is not editable.Default
falseOnly withplane
On the argand plane, the position as one complex number — a complex expression:
3 + 2i, (3 + 2i)^2, sqrt(13) * e^(i * a), with i the unit and parameters read as complex. Instead of re/im.