Skip to content

modeset demo: single startup splat, drop idle re-seed#710

Merged
brandonpayton merged 1 commit into
mainfrom
modeset-startup-only-splat
Jun 16, 2026
Merged

modeset demo: single startup splat, drop idle re-seed#710
brandonpayton merged 1 commit into
mainfrom
modeset-startup-only-splat

Conversation

@mho22

@mho22 mho22 commented Jun 16, 2026

Copy link
Copy Markdown
Collaborator

Follow-up on : #678

Summary

  • programs/modeset.c was auto-firing a demo splat pair every 90 frames (~1.5 s) whenever no mouse button was held — three rotating positions, courtesy of (buttons == 0 && (frame % 90) == 0) plus p = (frame / 90) % 3. The repeated re-seed is visually intrusive: the splat exists to prove the sim is alive on the first frame, not to keep redrawing.
  • Trigger is now frame == 0 only. The position-cycling p and the periodic disjunct are gone.
  • Splat colors moved from HDR red-orange + cyan (2.60, 0.55, 0.18 / 0.18, 1.20, 2.80) to cleaner red + blue (2.80, 0.05, 0.05 / 0.05, 0.05, 2.80). The off-channels stay at 0.05 rather than 0 so the bloom/sunrays passes have something non-zero to work with — well below visual perception of a tint.

User-space C only — no kernel, host, or ABI surface touched, so dual-host parity isn't in play here.

Test plan

  • ./run.sh browser, open the Modeset pane, confirm one red+blue splat pair at startup and no further auto re-seeds while idle.
  • Drag the canvas with mouse held — splat-on-drag still works (untouched code path).
  • CI build of programs/modeset.c is green.

The fluid sim was auto-firing a demo splat pair every 90 frames
(~1.5 s) whenever no mouse button was held, cycling through three
position variants. The recurring re-seed was visually intrusive — the
intent of the demo splat is to show the sim is alive on first frame,
not to keep redrawing.

Keep only the frame == 0 pair, and shift its colors from HDR
red-orange + cyan to clean red + blue.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@github-actions

Copy link
Copy Markdown

Phase B-1 matrix build status — pr-710-staging

ABI v15. 5 built, 0 failed, 5 total.

Package Arch Status Sha
modeset wasm32 built b6eda8ac
shell wasm32 built 063de31a
lamp wasm32 built 13000097
node-vfs wasm32 built 55a59d3b
wordpress wasm32 built 4d1e86cc

Auto-generated; replaced on each push. Raw data in the publish-status workflow artifact.

@github-actions github-actions Bot enabled auto-merge (squash) June 16, 2026 20:49
@github-actions

Copy link
Copy Markdown

prepare-merge: test-gate passed against the synthetic PR merge and binaries-abi-v15. Missing entries were built or promoted from PR staging only when their merged-tree cache key matched; merge-gate=success posted on PR HEAD and squash auto-merge enabled.

@brandonpayton brandonpayton disabled auto-merge June 16, 2026 20:50
@brandonpayton brandonpayton merged commit fff6e37 into main Jun 16, 2026
79 of 81 checks passed
@brandonpayton brandonpayton deleted the modeset-startup-only-splat branch June 16, 2026 20:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants