Skip to content

👩‍🚀 Prism: Add Northern Lights Aurora Wave Canvas Lab Experiment - #1725

Closed
alehar9320 wants to merge 1 commit into
mainfrom
prism/aurora-wave-lab-16568072620081959656
Closed

alehar9320 wants to merge 1 commit into
mainfrom
prism/aurora-wave-lab-16568072620081959656

Conversation

@alehar9320

Copy link
Copy Markdown
Owner

This PR introduces an interactive HTML5 Canvas experiment isolated under src/pages/lab/ rendering fluid Northern Lights ribbons using multi-harmonic wave superposition and cursor/touch vector light refraction.

  • Pure TypeScript math functions in src/utils/aurora-wave.ts with 100% Vitest test coverage in src/utils/aurora-wave.test.ts.
  • Full teardown cleanup on astro:before-swap to prevent memory leaks across Astro transitions.
  • Respects prefers-reduced-motion: reduce and provides dynamic step sizing for mobile performance.
  • Documented in .Jules/prism.md.

PR created automatically by Jules for task 16568072620081959656 started by @alehar9320

- Add pure TypeScript math utility for wave superposition, vector displacement refraction, and Northern Lights color interpolation (`src/utils/aurora-wave.ts`).
- Add Vitest unit tests in `src/utils/aurora-wave.test.ts`.
- Add isolated experimental Canvas lab page `src/pages/lab/index.astro` with full teardown cleanup on `astro:before-swap`, prefers-reduced-motion compliance, and mobile viewport scaling.
- Record journal entry in `.Jules/prism.md`.

Co-authored-by: alehar9320 <5390430+alehar9320@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@qodo-code-review

Copy link
Copy Markdown

ⓘ Qodo reviews are paused because the subscription is no longer active. Ask your workspace admin to reactivate the subscription to resume reviews. Manage billing

@alehar9320
alehar9320 temporarily deployed to prism/aurora-wave-lab-16568072620081959656 - astro-cloudflare-personal-website-web-service PR #1725 October 13, 2026 12:39 — with Render Destroyed
@coderabbitai

coderabbitai Bot commented Oct 13, 2026

Copy link
Copy Markdown

Review in Change Stack →

Note

Currently processing new changes in this PR. This may take a few minutes, please wait...

⚙️ Run configuration
  • Configuration used: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4ef73e57-6bfe-4c30-9fb8-13ae7d492575
📥 Commits

Reviewing files that changed from the base of the PR and between c91e798 and 00f4093.

📒 Files selected for processing (4)
  • .Jules/prism.md
  • src/pages/lab/index.astro
  • src/utils/aurora-wave.test.ts
  • src/utils/aurora-wave.ts
✨ Finishing Touches
📝 Generate docstrings
  • Commit to this branch
  • Create a new PR
🧪 Generate unit tests (beta)
  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@alehar9320-bot

Copy link
Copy Markdown
Collaborator

Owner review (alehar9320-bot), tip 00f4093: closing unmerged.

@jules This is the same Prism /lab aurora canvas experiment that has been closed repeatedly (#609, #1563, #1581, #1594, #1608, #1623, #1645, #1713). A decorative Northern Lights canvas under src/pages/lab/ plus src/utils/aurora-wave.ts and a .Jules/prism.md journal doesn't help a visitor learn what Alexander does as a DevEx PM or how to reach him, so it doesn't belong on this site. Owner lock: no Prism /lab work onto main.

Please stop generating Prism /lab / aurora canvas / refraction experiments for this repo, and don't restack or reopen this one. If the Prism task is scheduled, retire it. Any future visual work should improve an existing visitor-facing page (home, About, Approach, What's New) and keep the current look and feel.

@alehar9320-bot

Copy link
Copy Markdown
Collaborator

Johan (Lead UX) review at 00f40931: HARD ABORT, for the record.

@jules this is the same Prism Northern Lights /lab canvas as #1713, #1687, #1645, #1608 and earlier, and the owner-lock sweep has already closed it. The lock stands: no Prism experiments and no /lab/* routes on main. A math-art page doesn't help a visitor understand Alexander's product work or reach the hire path, so please stop regenerating this task rather than restacking it.

What this tip got right: touch listeners are passive (no scroll trap), Space/preventDefault is scoped to the canvas (not window, so chat typing stays usable), and prefers-reduced-motion pauses the loop on first load. What's still wrong:

  1. Idle canvas theater. Continuous requestAnimationFrame aurora ribbons when motion is allowed — decorative Northern Lights as the page identity, which elevated taste bans.
  2. Glow chrome. Cyan-tinted border on .canvas-wrapper, glowing .indicator-dot (box-shadow: 0 0 8px #00f2fe), and new 1rem / 0.75rem radii on a card shell that isn't in the existing control language.
  3. Off-token neon ramp. AURORA_COLOR_PALETTE plus #0d1b2a / #00f2fe aren't site tokens.
  4. Fake FPS status. Live "60 FPS" monospace pill is engineer chrome, not a visitor signal.
  5. Blank canvas when paused. resize() rescales but doesn't redraw unless the loop is playing or a pointer moves — reduced-motion and Pause visitors get an empty box after resize/rotate.
  6. Dead end. No ContactCTA or any path back to proof or LinkedIn.
  7. Engineer copy. "math-driven Northern Lights ribbons", "vector light refraction", "Aurora Waves Lab".

Hire path is fine (no mailto, no CV) and the main nav isn't touched. None of that changes the call. I'm not reopening this PR.

@codecov

codecov Bot commented Oct 13, 2026

Copy link
Copy Markdown

Bundle Report

Changes will decrease total bundle size by 773.57kB (-54.6%) ⬇️. This is within the configured threshold ✅

Detailed changes
Bundle name Size Change
molecular-mars-esm 643.13kB -773.57kB (-54.6%) ⬇️

Affected Assets, Files, and Routes:

view changes for bundle: molecular-mars-esm

Assets Changed:

Asset Name Size Change Total Size Change (%)
_astro/page.CoMi0FsL.js (New) 333.55kB 333.55kB 100.0% 🚀
_astro/module.BjE4vY10.js (New) 293.32kB 293.32kB 100.0% 🚀
_astro/Chat.astro_astro_type_script_index_0_lang.9sfKKbzr.js (New) 11.45kB 11.45kB 100.0% 🚀
_astro/PostHog.astro_astro_type_script_index_0_lang.D4asnsfX.js (New) 2.19kB 2.19kB 100.0% 🚀
_astro/hire-analytics.Bxq9AeP5.js (New) 1.37kB 1.37kB 100.0% 🚀
_astro/BaseLayout.astro_astro_type_script_index_0_lang.C_mUfkKv.js (New) 690 bytes 690 bytes 100.0% 🚀
_astro/contact.astro_astro_type_script_index_0_lang.D9DOjfHV.js (New) 554 bytes 554 bytes 100.0% 🚀
chunks/whats-new_D37oug2W.mjs (Deleted) -496.21kB 0 bytes -100.0% 🗑️
chunks/entrypoints_C5EuLVbn.mjs (Deleted) -192.73kB 0 bytes -100.0% 🗑️
chunks/schemas_eZHSupdQ.mjs (Deleted) -168.72kB 0 bytes -100.0% 🗑️
virtual_astro_middleware.mjs (Deleted) -126.58kB 0 bytes -100.0% 🗑️
chunks/server_A0DOYfKg.mjs (Deleted) -105.71kB 0 bytes -100.0% 🗑️
chunks/assets_D8wyrrTn.mjs (Deleted) -57.34kB 0 bytes -100.0% 🗑️
chunks/sequence_Cu3EFJzj.mjs (Deleted) -47.94kB 0 bytes -100.0% 🗑️
_astro/whats-new.B-5SiKeW.css (Deleted) -44.52kB 0 bytes -100.0% 🗑️
chunks/shorthash_BMRlBPhT.mjs (Deleted) -29.34kB 0 bytes -100.0% 🗑️
chunks/image-binding-transform_B4Zz_Icy.mjs (Deleted) -24.19kB 0 bytes -100.0% 🗑️
chunks/_astro_data-layer-content_Bue6G6bL.mjs (Deleted) -19.59kB 0 bytes -100.0% 🗑️
chunks/parse_sL0SCo45.mjs (Deleted) -15.9kB 0 bytes -100.0% 🗑️
chunks/visitor-changelog_C9GmWkG4.mjs (Deleted) -15.31kB 0 bytes -100.0% 🗑️
chunks/chat_C7Ewsr7L.mjs (Deleted) -12.5kB 0 bytes -100.0% 🗑️
chunks/visits_DJZt3Q_9.mjs (Deleted) -8.94kB 0 bytes -100.0% 🗑️
chunks/release-summary_zqgDQE9z.mjs (Deleted) -8.11kB 0 bytes -100.0% 🗑️
chunks/github-releases_DcjOF3g-.mjs (Deleted) -8.03kB 0 bytes -100.0% 🗑️
chunks/semanticAttributes_hstaWBSr.mjs (Deleted) -6.7kB 0 bytes -100.0% 🗑️
entry.mjs (Deleted) -5.7kB 0 bytes -100.0% 🗑️
chunks/release-summary_CEbmCPA7.mjs (Deleted) -5.29kB 0 bytes -100.0% 🗑️
chunks/_virtual_astro_session-driver_CE2iqgpT.mjs (Deleted) -3.47kB 0 bytes -100.0% 🗑️
chunks/static-image-collection_BhevgILS.mjs (Deleted) -2.84kB 0 bytes -100.0% 🗑️
chunks/releases_Bpc940MI.mjs (Deleted) -2.19kB 0 bytes -100.0% 🗑️
chunks/image-transform-endpoint_Bc2QaaJE.mjs (Deleted) -1.83kB 0 bytes -100.0% 🗑️
chunks/compiler_BpM12xhN.mjs (Deleted) -1.77kB 0 bytes -100.0% 🗑️
chunks/consts_BwpWpDPn.mjs (Deleted) -1.13kB 0 bytes -100.0% 🗑️
chunks/image-service-workerd_bmNDAS8y.mjs (Deleted) -960 bytes 0 bytes -100.0% 🗑️
chunks/rolldown-runtime_wyuCtXTE.mjs (Deleted) -941 bytes 0 bytes -100.0% 🗑️
chunks/_virtual_astro_server-island-manifest_CwRoHPap.mjs (Deleted) -798 bytes 0 bytes -100.0% 🗑️
chunks/content-assets_1Dyn9bJC.mjs (Deleted) -732 bytes 0 bytes -100.0% 🗑️
chunks/noop-entrypoint_DLk8gMYk.mjs (Deleted) -680 bytes 0 bytes -100.0% 🗑️

@codecov

codecov Bot commented Oct 13, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ All tests successful. No failed tests found.

📢 Thoughts on this report? Let us know!

This branch was successfully deployed

No deployments
prism/aurora-wave-lab-16568072620081959656 - astro-cloudflare-personal-website-web-service PR #1725 — 00f40931 Deployed Oct 13, 2026 by alehar9320
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.

2 participants