grid
A coordinate grid system with customizable bounds and background
✨ Examples
🔧 Properties & Styles
🎯 Properties
-
xminMinimum X coordinate
-
xmaxMaximum X coordinate
-
yminMinimum Y coordinate
-
ymaxMaximum Y coordinate
-
stepGrid line spacing (default: 1)
🎨 Styles
-
backgroundColorBackground color (default: white)
-
colorGrid line color (default: lightgray)
-
strokeWidthLine thickness (default: 1)
-
axisColorMain axis color (default: auto)
-
showAxesShow main axes (default: true)
point
A 2D point that can use mathematical expressions and reference other objects
✨ Examples
🔧 Properties & Styles
🎯 Properties
-
xX coordinate (can be expression)
-
yY coordinate (can be expression)
🎨 Styles
-
fillPoint color (default: #000000)
-
sizePoint radius (default: 3)
-
labelText label for the point
-
opacityTransparency (default: 1)
function
Plot mathematical functions using Math.js or fallback evaluator
✨ Examples
🔧 Properties & Styles
🎯 Properties
-
fnMathematical expression
-
xminDomain start
-
xmaxDomain end
-
samplesPlot resolution (default: 100)
🎨 Styles
-
strokeLine color (default: #000000)
-
strokeWidthLine thickness (default: 1)
-
fillFill area under curve
-
labelFunction 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