Reading a ray

Someone making a print can discover the rainbow fold by eye. Someone studying optics can ask exactly which path produced a point on the curve. The design problem is how to let one person move between those activities without losing their place.

Design brief · GUI Study Outline

One gesture, three readings

Imagine that the brass detector is set to 39° in water. Two distinct entry heights give that exit angle. On the plate they are two physical paths. On the graph they are the intersections of a horizontal line with a curve. In the equation they are two pairs of values for i and r. Moving the detector changes the question being asked of the drop. Changing the glass or water changes the curve itself.

The outline’s distinction between representation and interaction matters here. A slider alone tells you what number changed. A linked selection lets you point to the same entity in three representations. Ray A carries a letter and a circular graph marker, Ray B a letter and a diamond. This borrows the coordination of views studied by North and Shneiderman. Whether the correspondence helps someone read this engraving is an empirical question.

North & Shneiderman · Snap-Together Visualization

Make the disappearance an experiment

Select Find the rainbow edge in water. At about 42.03° the two graph intersections touch. Step down by 0.1° and both return. Step up through the crest and the highlighted ray vanishes, while the reference engraving stays in view. Near this maximum, exit angle changes quadratically with distance from the critical entry angle. That is why a tiny adjustment near the edge can produce an appreciable separation of the two paths.

Shneiderman’s account of direct manipulation emphasizes small, visible, reversible actions. Victor’s explorable explanations suggest a further criterion here. The reader should be able to make a prediction and immediately try to disprove it. The crest button gives a reproducible starting condition, the two small steps make the prediction testable, and Undo returns to the previous setting in one action.

Shneiderman · Direct Manipulation · Bret Victor · Explorable Explanations

Give the preferred image a place to stay

The outline’s visual-studio example raises a different cognitive problem. A person may recognize a favorite arrangement instantly and still have no idea which settings made it. Pinning keeps the thumbnail together with its exact settings. Side-by-side comparison holds one plate fixed while the current one changes. Restoring a pin is itself undoable, so a comparison need never cost the current experiment.

Graphical history research distinguishes revisiting a meaningful view from replaying a sequence of commands. Here the history buttons cover recent edits, the shelf holds deliberately chosen studies, and SVG export records the finished plate with its graph. Device-local pins support returning to the file in the same browser. The engraving encodes reflection order by ink. Perceived brightness is an artistic choice rather than a measurement of optical intensity.

Heer et al. · Graphical Histories for Visualization

Try the design with a reader

The following tasks test the design hypotheses. They have not been run as a participant study.

  1. Find the fold. Start at 39° and ask where the second path goes. Before moving past the crest, have the reader predict the number of paths. Record what they point to and whether they can connect the disappearance to the graph.
  2. Recover a favorite. Ask for two different engravings, then ask for the first back. Observe whether the reader recognizes the thumbnail, distinguishes the fixed plate from the editable one, and restores the original without reconstructing the settings.
  3. Use one finger. On a phone, ask the reader to reach the fold, cross it, and return without dragging. Watch for accidental scrolling, missed taps, and any moment when the engraving leaves view just as they need to check their prediction.

The rim, graph and slider offer continuous input. The edge and step buttons provide a single-pointer alternative for fine movement. A useful first revision would follow the first repeated misunderstanding across readers, even if every control functions correctly.

W3C · Understanding Dragging Movements