Packages/FoldKit/Tests/NotationTests/Snapshots/NOTATION.md

00ea029d0652da12d0f4237769e7020b72cfa7f3
fold/Packages/FoldKit/Tests/NotationTests/Snapshots/NOTATION.md rendered · source · history · blame · raw

44 lines · 3444 bytes

1 symbol in this file
 1# Notation
 2
 3Symbols chosen by `buildDiagram` and drawn by `drawDiagram`, with their source. The reference is
 4Randlett's conventions in *The Art of Origami* (1961) and the symbol set as summarised by
 5OrigamiUSA; where they differ, OrigamiUSA's is used. Sizes are `DiagramStyle.standard`, in
 6points.
 7
 8| Symbol | Drawn as | Source |
 9|---|---|---|
10| Edge of the paper, folded edge | solid line, 2 | Randlett and OrigamiUSA agree |
11| Crease made earlier, flat again | thin grey line, 1, grey 0.6 | OrigamiUSA (existing crease) |
12| Valley fold | dashed line, 7 on 4 off | Randlett and OrigamiUSA agree |
13| Mountain fold | dash-dot-dot line, 9 on, dots of 2, gaps of 3 | OrigamiUSA; Randlett uses dash-dot |
14| 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 |
15| Valley-fold arrow | curved arrow, filled full head | OrigamiUSA (filled head) |
16| Mountain-fold arrow | curved arrow, hollow half head, barb on the outside of the arc | Randlett and OrigamiUSA agree |
17| 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) |
18| Unfold | curved arrow, hollow full head at the destination, no head at the start | Randlett and OrigamiUSA agree (the unfold arrow) |
19| Inside and outside reverse fold, sink, squash | hollow push arrow with a notched tail, tip on the crease | OrigamiUSA (push) |
20| Petal fold | valley-fold arrow lifting the flap | OrigamiUSA |
21| Turn over | loop-the-loop arrow: left to right for a vertical axis, bottom to top for a horizontal one | Randlett and OrigamiUSA agree |
22| 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) |
23| Repeat | one stroke across the shaft of each fold arrow and push arrow near its tail | OrigamiUSA (strokes count repetitions) |
24
25Valley and mountain are as seen from the step's viewpoint, not FOLD's assignment.
26
27A crease the step moves that is already folded in the frame drawn is the existing line, solid
28where visible, never dashed or dash-dot: the reader is holding that fold. An axis that moves
29toward flat (its end angle is smaller in size than its start angle), such as box step 7's corners,
30gets the unfold arrow instead of a valley or mountain arrow. An axis already folded that folds
31further, such as the wall creases of box steps 9 and 11, keeps its valley or mountain arrow as
32seen.
33
34Arrow geometry: a fold arrow runs from the area-weighted centroid of the axis's moving set before
35the step to the same point after it (at the peak for a fold and unfold), its apex 0.3 of the chord
36from the chord's midpoint, toward screen-up or, for a vertical chord, screen-right. Arrows of a
37step with several axes start from points spread along their creases so that they do not meet. A
38technique's symbol sits at the midpoint of the step's first crease, pointing toward where that
39axis's moving set ends.
40
41`drawDiagram` fits the model and its arrows inside 48-point margins, 96 at the bottom, where the
42turn-over and rotate symbols sit. The golden images are 480 × 480, white. A render matches its
43golden image when no channel of any pixel differs by more than 24 of 255. Missing images are
44recorded by the test, which then fails; `FOLD_RECORD_SNAPSHOTS=1` records them all.