Activities/Sliderule: Difference between revisions

Line 22: Line 22:


=== The toolbars ===
=== The toolbars ===
There are three sub-menus from the main toolbar: the standard Activity Toolbar, the Project Toolbar and the Custom Toolbar.


[[Image:Sliderulemaintoolbar.jpg|right]]
[[Image:Sliderulemaintoolbar.jpg|right]]


From left to right:
The Project Toolbar from left to right:
* project-toolbar button
* function combo box used to selection a computation, e.g., addition/subtraction, multiplication/division, etc.
* function combo box used to selection a computation, e.g., addition/subtraction, multiplication/division, etc.
* top-scale indicator
* top-scale indicator
Line 36: Line 37:


The results of the calculation are displayed below the slide rule.
The results of the calculation are displayed below the slide rule.
[[Image:Sliderulecustomtoolbar.jpg|right]]
The Custom Toolbar from left to right:
* position function of x used to calculate the horizontal position of each mark along the slide or stator (the range of this function should be 0 to 1)
* label function of x used to calculate a label for each mark (often identity)
* result function of x used to read a value from the slide or stator (usually the inverse of the position function)
* the minimum value of x used in the functions domains
* the maximum value of x used in the functions domains
* the step size by which to iterate between minimum and maximum when generating marks


=== The keyboard shortcuts ===
=== The keyboard shortcuts ===