-
Notifications
You must be signed in to change notification settings - Fork 3
List of Objects
Niclas17 edited this page Jun 27, 2023
·
28 revisions
Interactivity legend:
- "Switch": object can be activated or deactivated by double-click.
- "Move": object or it's control points can be dragged around with the mouse.
- "Delete": object can be deleted by double-click (if active)
- "Generate": object can generate "force" or "moment" objects by dragging sample objects with the mouse.
Return value: only relevant for interactive input
The input for the images in the table are found here
Object | Interactivity | Return value in names
|
Example |
---|---|---|---|
"angle", "angle1", "angle2" | label string | ||
"axes" | |||
"bar" | Switch | "show" or list of load indices if hidden | |
"beam" | Switch | state | |
"circle" | Switch | state | |
"circle2p" | Move | [x1,y1],[x2,y2] | |
"crosshair" | Move | [x,y] (scaled) | |
"dashpot" | Switch | "show" or list of load indices if hidden | |
"dim" | label string | ||
"dir" | label string | ||
"disp" | label string | ||
"fix1", "fix12", "fix123", "fix13" | Switch | "show" or list of load indices if hidden | |
"force" | Move, delete | expression | |
"forceGen" | Generate | 0 | |
"frame" | 0 | ||
"grid" | 0 | ||
"label" | 0 | ||
"line" | 0 | ||
"line2p" | Move | [x1,y1],[x2,y2] | |
"mass" | 0 | ||
"moment" | Move, delete | expression | |
"momentGen" | Generate | 0 | |
"node" | label string | ||
"point" | label string | ||
"polygon" | Switch | state | |
"q" | Switch | "show" or list of load indices if hidden | |
"rope" | Switch | "show" or list of load indices if hidden | |
"rot" | label string | ||
"spline" | Move | expression f(x) | |
"springc" | Switch | "show" or list of load indices if hidden | |
"springt" | Switch | "show" or list of load indices if hidden | |
"wall" | Switch | "show" or list of load indices if hidden |
In order to try code snippets in jsfiddle,
- copy the code from the wiki page to the clipboard
- follow the link for the JSXGraph version you want to try
- Replace the code in the HTML section (contents of
<p hidden id="init">
) with the content of the clipboard