"momentGen" - mkraska/meclib GitHub Wiki
[ "momentGen", "name", [x,y] ]
Interactive moment generator. It consists of an input field for the label and a moment prototype, which can be dragged to produce new moments. Moments can be deleted by dragging one of their control points outside of the canvas.
"name"
initial value for the label input field.[x,y]
anchor point of the input field (left, vertically centered)
The input field automatically corrects non-valid names (in terms of STACK). Example: Fax
-> F_ax
.
Example
[
[ "grid", "x","y", -5,5,-4,5, 50, [10,10], [0,0] ],
[ "momentGen", "name", [2,2] ]
]