Promote dev: WASM showcase terminal-instrument rework - #103
Merged
Conversation
The WASM ANSI render auto-normalizes its white point, which left the sparse Physarum network reading faint on the page's dark frame. Scale the adaptive divisor by a 1.6 brightness multiplier so midtones surface, and expose set_brightness() to make the lever tunable from JS without a rebuild.
- Hero renders in FiraCode mono (was the OS default sans), matching the wordmark so the terminal identity carries the most prominent text. - Warm the neutrals toward the gold brand: page bg, dim ink, borders and the frame glow were tinted cool/olive; align them warm. - Add an SVG favicon (fixes the /favicon.ico 404) and a theme-color meta. - Replace the em dash in the blurb with parentheses; use a colon in the title. - Warm a freshly-switched preset before painting so it lands on a formed network instead of flashing empty.
Redesign the live demo page around a recessed terminal screen rather than a landing-page card: - ASCII render on the Slime palette with a brightness lift so the Physarum veins stay legible (adaptive white-point alone left them faint) - warm-dark field with green as the single accent (cold over warm) - square, inset screen: inner-shadow well, corner registration ticks, and bordered bezel tags (live / run-pause status / telemetry readout) - command-line controls — clickable --preset / --palette tokens that cycle and live-swap — replacing the web pills - space-to-pause legend in the bottom readout; blinking cursor + cycle hint retire after the first cycle interaction - mono headline, trimmed copy, version injected from Cargo.toml at build time
- chevron (and the --palette token) recolor to a slime-parallel accent of the active palette (Slime/Warm/Ocean/Mono/Heat) as a live visual response - per-preset note replaces the cycle hint after the first preset cycle, and fades out gently after a long dwell; palette-first interactions leave it empty until a preset is cycled - HUD tags float inward over the sim as solid, raised plates (drop shadow + bevel) instead of bezel-cut labels
Rework WASM showcase as a terminal instrument
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Promote
dev→master. Runs the full 3-OS matrix; on merge,pages.ymldeploys the updated showcase to GitHub Pages.Included (#102)
Reworks the live WASM demo from a centered landing page into a terminal-instrument:
--preset/--palettetokens, live-swap) replacing the web pills--palettetoken; per-preset note with gentle auto-fadeCargo.tomlat build timeTest plan
pnpm buildgreen;cargo clippy --target wasm32clean (2 pre-existing dead-code warnings)