Isometric line figures that answer the pointer. For React and for anything with a DOM.
Skill: each kind of part is drawn from the features that give it away, named in the concept
Lucas Marquesf262618a70b1
diff --git a/skills/hairline-create/SKILL.md b/skills/hairline-create/SKILL.mdindex bcd066c..bbf4782 100644--- a/skills/hairline-create/SKILL.md+++ b/skills/hairline-create/SKILL.md@@ -64,6 +64,7 @@ When the person asks for a change, edit only `<name>.js`, then run `look.mjs` ag| writing a timer, a `requestAnimationFrame` or a CSS animation | `register(stage, tick)`, with springs or tweens (rules 07 and 08) || testing the pointer against what is drawn right now | test it against the rest or target pose (rule 01) || drawing a box with twelve edges | `prism` of two rounded rings: a silhouette and one crease (rule 09) |+| drawing a part as a plain rounded block | give it the features that make it what it is, the ones you named in the concept (`concepts.md`) || leaving rest flat, empty, or symmetric because that was easy | compose it: rest is the thumbnail (rule 05) || editing the kernel or the bench to make something work | the figure is wrong; change the figure || letting in a second idea | cut it: one figure, one idea |diff --git a/skills/hairline-create/concepts.md b/skills/hairline-create/concepts.mdindex 8010b65..57ab48f 100644--- a/skills/hairline-create/concepts.md+++ b/skills/hairline-create/concepts.md@@ -5,11 +5,12 @@ A concept is three things: **an object**, **what the pointer does to it**, and *## Finding it1. **Find the object.** Something you could put on a desk: a tray, a belt, a platter, a stack, a board of pegs. Not a diagram. A deploy pipeline is not boxes and arrows; it might be a flight of canal locks.-2. **Find the variable.** Every idea has one number or one choice that matters: how far, which one, how fast, how long. That is what the pointer gets.-3. **Give the pointer that variable.** Where it is sets a position (continuous); what it is over sets a choice (discrete). The answer should be what a hand would expect from the object.-4. **Design the rest.** What does the object look like when nobody touches it? It must already be a composition, and already say what the figure is about.-5. **Choose the read-out's words.** A few characters naming what is under the pointer: `cell 4·2`, `08`, `lock 3`. And `rest`.-6. **Choose the slider's number.** One number that makes the answer weaker or stronger: a radius, a stagger, a gap, a rate. Its three values go in `range`.+2. **Find what gives it away.** For each kind of part, name the two or three features that make it what it is, each something the object would really have. A car: a cabin narrower than its body, a windscreen that slopes, wheels. A lighthouse: a tower that tapers, a lantern on top, a gallery round it. A part with none of them is a rounded block, and a row of rounded blocks is nothing in particular. Keep the list: you draw from it, and the look checks the small picture against it.+3. **Find the variable.** Every idea has one number or one choice that matters: how far, which one, how fast, how long. That is what the pointer gets.+4. **Give the pointer that variable.** Where it is sets a position (continuous); what it is over sets a choice (discrete). The answer should be what a hand would expect from the object.+5. **Design the rest.** What does the object look like when nobody touches it? It must already be a composition, and already say what the figure is about.+6. **Choose the read-out's words.** A few characters naming what is under the pointer: `cell 4·2`, `08`, `lock 3`. And `rest`.+7. **Choose the slider's number.** One number that makes the answer weaker or stronger: a radius, a stagger, a gap, a rate. Its three values go in `range`.## Six answers already provendiff --git a/skills/hairline-create/look.md b/skills/hairline-create/look.mdindex 3f08aa5..2814af2 100644--- a/skills/hairline-create/look.md+++ b/skills/hairline-create/look.md@@ -49,7 +49,7 @@ On the sheet, `rest` and `answer` are large; `small` and `small-answer` are at tAnswer each with yes or no. A no is fixed in the figure before anything is handed over. `look.mjs` answers 8, 9 and 12, and measures part of 4; the rest are answered from the sheet. Zoom when a line is too small to judge.-1. **The silhouette reads at 240px.** You can say what the object is from the small picture alone.+1. **The silhouette reads at 240px.** You can say what the object is from the small picture alone. You know what you drew, so do not ask yourself whether it looks like it: for each kind of part, point in the `small` picture to the features you named for it in the concept (`concepts.md`, step 2). A part that shows none of them there is a no, however it looks at full size.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). With the pointer held on a part that moves when touched, the drawing comes to rest. `look.mjs` waits 1.5 seconds after each page loads, then until its drawing holds still for a quarter of a second, for 5 seconds at most. `still` is a yes, and says how long the slowest took. `moving` names the pictures that never held still: answering pictures moving while rest held still is a flicker loop; every picture moving is an ambient figure, or a loop that never ends. A machine too busy to keep up says `moving` too, so run it again before you believe it. `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.