Packages/FoldKit/Tests/NotationTests/Snapshots/NOTATION.md
44 lines · 3444 bytes
1 symbol in this file
Notation
Symbols chosen by buildDiagram and drawn by drawDiagram, with their source. The reference is
Randlett's conventions in The Art of Origami (1961) and the symbol set as summarised by
OrigamiUSA; where they differ, OrigamiUSA's is used. Sizes are DiagramStyle.standard, in
points.
| Symbol | Drawn as | Source |
|---|---|---|
| Edge of the paper, folded edge | solid line, 2 | Randlett and OrigamiUSA agree |
| Crease made earlier, flat again | thin grey line, 1, grey 0.6 | OrigamiUSA (existing crease) |
| Valley fold | dashed line, 7 on 4 off | Randlett and OrigamiUSA agree |
| Mountain fold | dash-dot-dot line, 9 on, dots of 2, gaps of 3 | OrigamiUSA; Randlett uses dash-dot |
| Hidden edge or crease | not drawn | this project's choice, per the design document; Randlett and OrigamiUSA both define an x-ray (dotted) line, which is not used |
| Valley-fold arrow | curved arrow, filled full head | OrigamiUSA (filled head) |
| Mountain-fold arrow | curved arrow, hollow half head, barb on the outside of the arc | Randlett and OrigamiUSA agree |
| Fold and unfold | curved arrow, fold head at the destination, hollow full head at the start pointing back | OrigamiUSA (double-headed form; the zig-zag form is not used) |
| Unfold | curved arrow, hollow full head at the destination, no head at the start | Randlett and OrigamiUSA agree (the unfold arrow) |
| Inside and outside reverse fold, sink, squash | hollow push arrow with a notched tail, tip on the crease | OrigamiUSA (push) |
| Petal fold | valley-fold arrow lifting the flap | OrigamiUSA |
| Turn over | loop-the-loop arrow: left to right for a vertical axis, bottom to top for a horizontal one | Randlett and OrigamiUSA agree |
| Rotate | two arcs around a circle with heads in the direction of turn, the amount in degrees at the centre | OrigamiUSA (amount written in the circle) |
| Repeat | one stroke across the shaft of each fold arrow and push arrow near its tail | OrigamiUSA (strokes count repetitions) |
Valley and mountain are as seen from the step's viewpoint, not FOLD's assignment.
A crease the step moves that is already folded in the frame drawn is the existing line, solid where visible, never dashed or dash-dot: the reader is holding that fold. An axis that moves toward flat (its end angle is smaller in size than its start angle), such as box step 7's corners, gets the unfold arrow instead of a valley or mountain arrow. An axis already folded that folds further, such as the wall creases of box steps 9 and 11, keeps its valley or mountain arrow as seen.
Arrow geometry: a fold arrow runs from the area-weighted centroid of the axis's moving set before the step to the same point after it (at the peak for a fold and unfold), its apex 0.3 of the chord from the chord's midpoint, toward screen-up or, for a vertical chord, screen-right. Arrows of a step with several axes start from points spread along their creases so that they do not meet. A technique's symbol sits at the midpoint of the step's first crease, pointing toward where that axis's moving set ends.
drawDiagram fits the model and its arrows inside 48-point margins, 96 at the bottom, where the
turn-over and rotate symbols sit. The golden images are 480 × 480, white. A render matches its
golden image when no channel of any pixel differs by more than 24 of 255. Missing images are
recorded by the test, which then fails; FOLD_RECORD_SNAPSHOTS=1 records them all.