Isometric line figures that answer the pointer. For React and for anything with a DOM.
Skill: the flicker check also reads the hit test, since the held pointer moves only once
Lucas Marques41b063b9286a
diff --git a/skills/hairline-create/SKILL.md b/skills/hairline-create/SKILL.mdindex 5b15d9b..672f747 100644--- a/skills/hairline-create/SKILL.md+++ b/skills/hairline-create/SKILL.md@@ -25,7 +25,7 @@ One figure, one idea. A concept that needs a label to be understood is not a con## 2. Build1. Read `rules.md`. The ten rules are not advice: a figure that breaks one is not finished.-2. Read the index at the top of `kernel.js`: the first comment, down to `var HL`. It lists everything you may call. Do not read the code under it.+2. Read the index at the top of `kernel.js`: the comment under the hash line, down to `var HL`. It lists everything you may call. Do not read the code under it.3. Read the example nearer your concept: `examples/terrain.js` for a continuous field, `examples/riffle.js` for discrete items.4. Write the figure as `<name>.js` in the person's working directory, in the shape of the examples: take what you need from `HL`, define `mount({ stage, svg, read }, value)` returning `{ set, destroy }`, and end the file with `hairline({ name, means, rules, range, mount })`.- `name`: lowercase, one word or hyphenated.diff --git a/skills/hairline-create/look.md b/skills/hairline-create/look.mdindex 4c06ccd..3b07e1f 100644--- a/skills/hairline-create/look.md+++ b/skills/hairline-create/look.md@@ -25,7 +25,7 @@ Answer each with yes or no. A no is fixed in the figure before anything is hande1. **The silhouette reads at 240px.** You can say what the object is from the small picture alone.2. **Rest is a composition** (rule 05). Not flat, not empty, not a regular grid; something is bright where the eye should start.3. **The answer falls off with distance, or spreads out from the pointer** (rules 02 and 03). It is not everything at once, and not one part alone.-4. **Nothing flickers** (rule 01). Hold `at` on an edge that moves when touched and take two pictures a second apart: they are the same.+4. **Nothing flickers** (rule 01). Hold `at` on an edge that moves when touched and take two pictures a second apart: they are the same. `at` moves the pointer once, so also read the hit test: it picks from the rest pose or the target, never from the pose on screen.5. **Bright outside, dim inside** (rule 09). Every solid is a silhouette and one crease; no vertical corner is drawn; no corner is sharp.6. **Nothing shows through** (rule 06). No far edge crosses a near solid; no guide crosses its own plate.7. **One highlight** (rule 04). What is bright is what the pointer chose, and it is a stroke.