Free software

About OpticalSetup

Copyright © 2026 Luca Genchi and contributors.

OpticalSetup is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

It is distributed in the hope that it will be useful, but without any warranty; without even the implied warranty of merchantability or fitness for a particular purpose. See the GNU General Public License for more details.

The numbers OpticalSetup reports come from models with stated limits; read each component's page in the wiki before relying on one.

If you use OpticalSetup in your research, teaching or publications, please cite the software:

Bertoncini, A., & Genchi, L. (2026). OpticalSetup - the optical workbench software [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.23191537

Wiki / Annotations / Goniometer

Goniometer

Measures the angle between two arms on the bench and labels it, with Markdown and LaTeX in the label.

Open in the canvas →

A live trace, not a picture of one — but this preview is not interactive. Open it in the canvas to move things, change parameters, and save or export your own version.

In the real world

Figures of optical setups state the angles that matter: the fold angle at a mirror, the angle of incidence on a prism or a grating, the crossing angle of two beams in a crystal. Two lines from a vertex with an arc between them, and the angle written beside it, say it on the figure itself.

In OpticalSetup

Select the goniometer: it has a round handle at its vertex and one at the tip of each arm. Dragging an arm's tip turns only that arm about the vertex, smoothly and without the grid, keeping its length, which the inspector sets; the other arm stays where it is. The purple knob tunes the angle by itself, dragging up to open it, and the vertex handle moves the whole goniometer. Shift steps the angle by 5°.

With auto clamp, on by default, the vertex clicks into place near what a measurement usually starts from: a component's centre or its optically active point (a laser's aperture, an objective's tip), another ruler's or goniometer's handle, a bend in a beam such as its fold at a mirror, or a beam's axis; away from these it falls back to the grid when Snap is on. The beam axis is the central ray of each traced beam, a ray drawn on its own (a laser drawn as a line, each ray of an object's fan), or an arrow drawn as a beam; a point source has no single axis, so only its centre is a target. An arm clicks onto a beam whose axis runs through the vertex, or turns toward a component, and a dashed purple line shows what it has clicked onto. Hold Alt to place or turn freely.

The label is Markdown, as in a text label, with LaTeX formulas between dollar signs, and {value} in it is replaced by the measurement with the chosen number of decimal places. Inside a formula the unit is set upright, and a label without {value} shows no number at all.

The angle between the arms runs from 0 to 180°; the sign of the stored value only says which way the second arm opens. $\theta = {value}$ reads θ = 90°. The label stays level, out along the bisector. For a distance, use the ruler.

The example reads the fold angle at a mirror, with the arms along the incoming and the reflected beam.

Simplified vs. reality

The goniometer measures the drawing: the angle between its two arms. It does not attach to a component or follow a beam: an arm laid along a beam stays where it was put when the beam moves. The goniometer is diagram-only and never absorbs or redirects rays.

Related components