diff --git a/app/components/home/HomeConsole.vue b/app/components/home/HomeConsole.vue index 2429c52..7bf900f 100644 --- a/app/components/home/HomeConsole.vue +++ b/app/components/home/HomeConsole.vue @@ -134,8 +134,9 @@ const current = computed(() => props.axes.find(a => a.key === active.value) ?? p // ── Motion ────────────────────────────────────────────────────────────── // Yvv's instructions, word for word: docs/consignes-yvv.md (29/09 and 03/11). // -// Before any gesture (29/09): the cursors move on their own, slowly; each one -// drifts, and every few beats another axis is pushed up towards émancipation. +// Before any gesture (29/09): the cursors move on their own, slowly; the low +// ones drift, and every few beats another axis is pushed up to its own +// graduation (03/11), the level the hand gives it. // SSR renders every cursor at the bottom, so the first move is the rise. // // The visitor's hand takes over for good (03/11): from the first hover, @@ -166,13 +167,12 @@ let timer: ReturnType | undefined function place() { props.axes.forEach((axis, i) => { - const isActive = axis.key === active.value - if (reduced.value) { - levels[axis.key] = isActive ? 0.94 : 0.3 + // The axis put forward goes up to its own graduation, as under the hand + if (axis.key === active.value) { + levels[axis.key] = GRADUATION[axis.key] ?? 0.75 return } - const wave = Math.sin(beat * 0.9 + i * 2.1) - levels[axis.key] = isActive ? 0.87 + 0.06 * wave : 0.3 + 0.14 * wave + levels[axis.key] = reduced.value ? 0.3 : 0.3 + 0.14 * Math.sin(beat * 0.9 + i * 2.1) }) } diff --git a/docs/consignes-yvv.md b/docs/consignes-yvv.md index 1196bd7..7a51a0f 100644 --- a/docs/consignes-yvv.md +++ b/docs/consignes-yvv.md @@ -43,6 +43,8 @@ Ce que fait le code : - Le panneau de l'axe s'affiche au même geste. - Les autres curseurs ne bougent pas. Un curseur jamais touché reste là où il était. - Un nouveau survol rejoue la montée. -- Avant tout geste, l'animation du 29/09 est inchangée. +- Avant tout geste, l'animation du 29/09 continue : la rotation et la dérive des curseurs bas. L'axe + mis en avant monte à son cran, et non plus vers 0,9. C'est une décision d'orch du 03/11 à 05h51, qui + découle de la graduation : l'animation et la main donnent les mêmes niveaux. - Sous `prefers-reduced-motion`, il n'y a aucune transition, mais les crans sont les mêmes. - Un défilement au doigt qui part d'un curseur ne compte pas comme un survol.