v0.89.0: Lint Oontz in three-quarter view (or head on), nodding to the bass, ten dance moves by intensity

The moves come in three tiers picked by how full the music is now against
the last ~12 s, so a build or a drop changes the move; some use the legs.
It waits standing for 10 s before sitting and sleeps at 30 s, and skipping
songs no longer sits it down.
This commit is contained in:
2026-11-06 02:41:45 -08:00
parent 2b59ea02da
commit 0cf22773e7
9 changed files with 523 additions and 172 deletions
+21 -13
View File
@@ -412,21 +412,29 @@ persistence) → GUI (Qt widgets that read the manager and connect to its signal
`tests/kaleidostrobe_golden.npz` was recorded from the emulated original
and `test_round84` holds the port to it byte for byte.
- **`gui/visualizer_lint.py`** — Lint Oontz, the fifth style (Round 122,
`lint`): one line-drawn lint ball in big headphones on the panel's gray.
- **`gui/visualizer_lint.py`** — Lint Oontz, the fifth style (Rounds
122–123, `lint`): one line-drawn lint ball in big headphones on the
panel's gray, in **three-quarter view** (default: face turned to our
right, the near cup seen whole, the far one clipped to what shows past
the ball) or **head on** (`visualizer_lint_head_on`, Preferences' View
combo; in `STYLE_KEYS`). The ball is filled with the panel colour so
what's behind it (legs' tops, the far arm in 3/4) is hidden.
**Stop motion**: the renderer steps at 8 fps on its own clock and
`advance` is True only on a step; every step re-rolls each line's wobble
(seeded by step, so one step always draws the same) and nothing is ever
tweened. A bass onset (energy `ONSET_RATIO` over its own average) dips
the head and bends the knees; the arms dance only when the onset tempo
is ≥ `BUSY_BPM` *and* the spectrum is full (`BUSY_FULLNESS`, calibrated
on pink noise vs. sparse tones), otherwise they hang. Quiet (or paused,
`clear()`) → it **sits** after `SIT_AFTER_S` and **sleeps** after
`SLEEP_AFTER_S`. Two renderer flags the widget reads: `idles` keeps the
60 Hz timer running with nothing playing (fed silence, never the old
song's tail) so it can fall asleep, and `black_mode` adds `MODE_BLACK`
to the colour wheel (colour → gray → black → off) — for any other style
a saved black reads as colour. No settings yet (no `STYLE_KEYS` entry).
(seeded by step) and nothing is ever tweened. A bass onset **nods** the
head (rotated about the neck in 3/4; head on, the face drops) — the legs
no longer crouch on the bass. Busy (onset tempo ≥ `BUSY_BPM` *and* a full
spectrum) → one of `MOVES`: ten arm+leg moves in three tiers; the tier is
`now` fullness (1.5 s) against `TIER_EDGES`, ±1 when `now` is `LIFT` over
or under `lately` (12 s) — a build or a drop. A tier change that holds 2
beats switches the move; every 16 beats it may switch within the tier.
Not busy: arms hang, it only nods. Quiet/nothing playing: stands, sits
at `SIT_AFTER_S` (10), sleeps at `SLEEP_AFTER_S` (30); `clear()` does
nothing, so skipping songs never sits it down. Two renderer flags the
widget reads: `idles` keeps the 60 Hz timer running with nothing playing
(fed silence, never the old song's tail), and `black_mode` adds
`MODE_BLACK` to the colour wheel (colour → gray → black → off) — for any
other style a saved black reads as colour.
- **`lintunes/dj/`** + **`gui/dj_shelf.py`** — DJ mode (Round 93; View ›
DJ Mode or the turntable button under BPM). The window parts **under the