Commit Graph
5 Commits
Author SHA1 Message Date
Paul BakausandClaude Opus 4.6 a3633c66f0 Fix split-compare clip-path angle to match divider's skewX(-10deg)
The divider uses a fixed CSS angle (skewX(-10deg)) but the clip-path
mask used a fixed percentage offset (skewOffset=8), which only matches
at one specific aspect ratio. Now computes skewOffset dynamically from
the container's actual dimensions via ResizeObserver.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-17 08:04:24 -07:00
Paul BakausandClaude Opus 4.6 577c9c872c Overdrive laser demo, deep link support, and split-compare fix
Demo:
- Laser-etched "Paul Bakaus" signature drawn in real-time on dark
  surface, adapted from pbakaus/shaders laser-precision
- Two-canvas architecture: persistent burn canvas + cleared-per-frame
  spark overlay to prevent pixel accumulation
- Smooth quadraticCurveTo rendering for fluid signature strokes
- Sparks with motion trails, multi-layer tip glow

Infrastructure:
- Add init() support for command demos — JS can now execute after
  demo HTML is inserted into the DOM
- Fix split-compare retriggerAnimations to not destroy canvas elements
  (clone-and-replace for CSS-only demos, individual retrigger when
  canvas is present)
- Add deep linking to commands (#cmd-overdrive etc.) with hash
  tracking and initial load support
- Remove auto-#hero hash — hero is the default state

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-16 11:13:05 -07:00
Paul BakausandClaude Opus 4.6 98f5d839fd Improve split comparison: add before/after badges, extend slider range
Adds floating corner badges to clarify which side is before/after,
removes the "With Skills" divider label, and extends the slider range
to account for the skewed divider so it can fully reveal each side.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-04 09:39:05 -08:00
Paul BakausandClaude Opus 4.5 ecc4857204 Harden accessibility and add resilience improvements
- Add skip-to-content link for keyboard navigation (WCAG 2.4.1)
- Add ARIA labels to download buttons and periodic table elements
- Convert periodic table from divs to semantic buttons with keyboard support
- Add focus-visible styles to all interactive elements
- Implement WAI-ARIA tabs pattern for pattern categories with arrow key nav
- Add global prefers-reduced-motion support in CSS and JavaScript
- Fix touch gesture trapping in split-compare (allows vertical scroll)
- Add error states with retry button for API failures
- Add underlines to links for non-color identification (WCAG 1.4.1)
- Respect reduced motion preference in Lenis smooth scroll and hero canvas

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-16 14:02:30 -08:00
Paul Bakaus 6987e6e160 more fixes 2025-12-15 16:55:21 -08:00