grid
A coordinate grid system with customizable bounds and background
✨ Examples
🔧 Properties & Styles
🎯 Properties
-
numberxminMinimum X coordinate
-
numberxmaxMaximum X coordinate
-
numberyminMinimum Y coordinate
-
numberymaxMaximum Y coordinate
-
numberstepGrid line spacing (default: 1)
🎨 Styles
-
colorbackgroundColorBackground color (default: white)
-
colorcolorGrid line color (default: lightgray)
-
numberstrokeWidthLine thickness (default: 1)
-
coloraxisColorMain axis color (default: auto)
-
booleanshowAxesShow main axes (default: true)
point
A 2D point that can use mathematical expressions and reference other objects
✨ Examples
🔧 Properties & Styles
🎯 Properties
-
numberxX coordinate (can be expression)
-
numberyY coordinate (can be expression)
🎨 Styles
-
colorfillPoint color (default: #000000)
-
numbersizePoint radius (default: 3)
-
stringlabelText label for the point
-
numberopacityTransparency (default: 1)
function
Plot mathematical functions using Math.js or fallback evaluator
✨ Examples
🔧 Properties & Styles
🎯 Properties
-
stringfnMathematical expression
-
numberxminDomain start
-
numberxmaxDomain end
-
numbersamplesPlot resolution (default: 100)
🎨 Styles
-
colorstrokeLine color (default: #000000)
-
numberstrokeWidthLine thickness (default: 1)
-
colorfillFill area under curve
-
stringlabelFunction label
vector
A vector (arrow) with position and direction, supports vector math and angle-based construction
✨ Examples
text
A text label at a given position with optional styling or LaTeX rendering
✨ Examples
circle
A circle defined by (x,y,r), (label,r), or (x:, y:, r:)
✨ Examples
line
A straight line defined by two points (named or explicit)
✨ Examples
poly
A polygon defined by multiple points with optional labeling
✨ Examples
rect
A rectangle defined by position and dimensions
✨ Examples
oval
An oval (ellipse) defined by center position and radii