News
Index
Working with MUMIE as author
- Initial steps:
- Articles:
- Problems:
- Programming with Python
- Visualizations with JSXGraph
- Media Documents:
Working with MUMIE as teacher
Using MUMIE via plugin in local LMS
FAQ
You're not logged in
Working with MUMIE as author
Working with MUMIE as teacher
Using MUMIE via plugin in local LMS
FAQ
If you are familiar with the generic GWT-Visualizations (used in articles before), you can read here the
explanation on the main changes with respect to genericGWTVisualization. As JSX visualizations are developed further,
the list will not be complete, and we recommend to read the full
explanation about visualizations in the article JSX Visualizations.
\field{<varname>}{<fieldtype>}
(default is real).var(..)
when referring to other variables. So the syntaxThere are two sorts of dependencies:
Exceptions from this behaviour:
The geometric objects lines, circles, vectors, affines, polygons, angles, and arcs are intimately linked to points occuring in its definition.
That means two things:
\slider[stepsize]{name}{field}{initialvalue}{leftbound}{rightbound}
A vector always starts at the origin. It is given by a point, its endpoint. Therefore a vector can never be dragged.
But is intimitely connected to its point (as lines to their points).
An affine vector can be given
(a) by two points: It is the connecting vector of these points. Same rules apply as for lines.
(b) A point and a vector/affine: It is the arrow starting at the point and being parallel to the vector/affine.
It can be dragged if the point can be dragged (and point moves with it). If the affine is editable, it is not
connected to the vector/affine, but still to the point.
(c) Two vectors (as in GWTVisualizations) or vector and affine: It is the arrow starting at the endpoint of the first vector
and being parallel to the second vector/affine. It can be dragged (if set to editable) if the vector is editable
(so not draggable – see above). If the affine is editable, it is not connected to the second vector/affine, but
still to the endpoint of the first vector.
(d) A point/vector and two numbers/number expressions: It is the arrow starting at the point or the endpoint of the vector
and having the numbers as components.
The \angle
-command now really produces an angle. Arcs (in GWTVisualizations called angle) are created by an \arc
-command.
Angles can never be dragged themselves, but are always linked to the points defining them (even if editable).
(More details on angle and arcs see below).
The optional upper and lower limits for a pointOn(Paramtric)Curve are ignored. Instead, the point can move on the whole curve.
If you wish to restrict the point to parts of the curve, define an invisible parametricCurve
with the desired bounds instead and stick the point to that invisible curve.
\plotTop
and \plotBottom
can also be given, not only \plotLeft
and \plotRight
\angle[editable]{name}{field}{value}
and \arc[editable]{name}{field}{value}
, where value is the comma separated listThe new visualizations can be used with problems:
\problem{varname}{fieldtype}
or via \question{questionnr}{varname}{fieldtype}
\answer{varname}{questionnr,answernr}
inside the visualization environmentMore details on using data of visualizations as answers are provided under
graphical problems
string
-command. Syntax is\string[editable]{name}{field}{value}{position}
.For simplicity, we restrict here to lines and points, but the same strategies can be used for circles and
points etc.
As described above, lines are intimately linked to the points defining it, and can only be dragged if
set editable AND both points are editable (in which case the points can also be dragged).
In the following, we describe how to obtain other scenarios:
You might wish to be able to move a polygon by dragging one of its vertices.
For example, if one vertex is a point on a curve, you will not be able to drag the polygon.
In this case, you should define the other vertices to be non-editable with a fixed direction to the point on curve,
as in the following example.
Example:
123456 \begin{variables}
\function{f}{real}{x^2+2}
\pointOnCurve[editable]{p}{real}{f}{2}
\point{q}{real}{p[x]+1,p[y]+2}
\line{l}{real}{p,q}
\end{variables}
Updated by Andreas, 1 year ago – 6134722