Skip to content

fix: stop creating clock-racing scene-spec Manim dumps (#66) - #67

Merged
jmjava merged 1 commit into
mainfrom
fix/reveal-cadence-clock-overshoot
Aug 2, 2026
Merged

fix: stop creating clock-racing scene-spec Manim dumps (#66)#67
jmjava merged 1 commit into
mainfrom
fix/reveal-cadence-clock-overshoot

Conversation

@jmjava

@jmjava jmjava commented Aug 2, 2026

Copy link
Copy Markdown
Owner

Summary

Fixes creation of garbage paced scenes (#66), not just post-hoc validation.

  • compile_scene_class(..., words=) clamps each FadeIn / page-fade run_time so _TimedScene._clock cannot overshoot the next wait_word start
  • Page transitions FadeOut revealed boxes (not the parent VGroup, which could re-add siblings at full opacity)
  • Title Write shortened to 1.0s so early spoken labels are not already in the past
  • Bootstrap _TimedScene.timed_play(..., not_past=) defense in depth
  • Unit tests prove unclamped timelines cascade and clamped compile output does not

Test plan

  • pytest tests/test_scene_spec.py tests/test_scene_retime.py tests/test_manim_scene_support.py
  • Re-scene-compile --retime + manim on sdlc demos 01/02 and confirm first-page boxes land on spoken beats without a frozen board

Closes #66

Made with Cursor

Clamp FadeIn/page-fade run_times to the next wait_word so _TimedScene cannot
dump the first board then freeze. FadeOut revealed boxes (not the parent
VGroup), shorten the title write, and cover the cascade with unit tests.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@jmjava
jmjava merged commit 99136e4 into main Aug 2, 2026
5 checks passed
@jmjava
jmjava deleted the fix/reveal-cadence-clock-overshoot branch August 2, 2026 03:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

BUG: scene-spec wait_until_word clock overshoot dumps first page then freezes (validate false green)

1 participant