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
+4 -4
View File
@@ -98,11 +98,11 @@ def test_quiet_sits_then_sleeps_and_music_wakes_it():
assert r.posture == STAND
def test_pausing_sits_it_down():
def test_pausing_lets_the_quiet_clock_decide():
r = LintRenderer()
_play(r, _song(128, 2, True))
r.clear()
assert r.posture == SIT
assert r.posture == STAND # Round 123: it waits before sitting
def test_one_ball_in_the_given_colour(qapp):
@@ -115,8 +115,8 @@ def test_one_ball_in_the_given_colour(qapp):
if any(img.pixelColor(x, y).blue() - img.pixelColor(x, y).red() > 80
for y in range(0, h, 2))]
assert cols
# One figure, in the middle: nothing in the outer fifths.
assert min(cols) > w * 0.2 and max(cols) < w * 0.8
# One figure, in the middle: nothing in the outer sixths.
assert min(cols) > w / 6 and max(cols) < w * 5 / 6
def test_every_frame_wobbles(qapp):