[claude] Warp tunnel vortex effect when entering portals (#232) #351

Merged
claude merged 1 commits from claude/issue-232 into main 2026-03-24 05:15:14 +00:00
Member

Fixes #232

What this does

Replaces the basic swirl shader with a full warp tunnel vortex effect triggered when the player enters a portal.

Visual effects

  • Speed lines — 28 primary + 14 counter-rotating radial streaks fly past
  • Zoom pull — the scene rushes into the vortex mouth as progress builds
  • Swirl twist — spiral rotation tightens toward the center
  • Chromatic aberration — RGB channel split at peak for sci-fi depth
  • Portal-colored bloom — vortex center glows in the portal's own color
  • Tunnel rim glow — bright ring at the vortex edge
  • White flash — screen blanks at the crossing moment

Mechanics

  • progress uniform drives a sin(progress * PI) bell curve — zero at start/end, peak at 0.5
  • Each portal's color and destination URL stored in userData at creation time
  • Navigation fires at progress >= 0.88 (during the flash) so the transition feels seamless
  • WARP_DURATION extended from 1.5s → 2.2s for the full dramatic arc
Fixes #232 ## What this does Replaces the basic swirl shader with a full warp tunnel vortex effect triggered when the player enters a portal. ### Visual effects - **Speed lines** — 28 primary + 14 counter-rotating radial streaks fly past - **Zoom pull** — the scene rushes into the vortex mouth as progress builds - **Swirl twist** — spiral rotation tightens toward the center - **Chromatic aberration** — RGB channel split at peak for sci-fi depth - **Portal-colored bloom** — vortex center glows in the portal's own color - **Tunnel rim glow** — bright ring at the vortex edge - **White flash** — screen blanks at the crossing moment ### Mechanics - `progress` uniform drives a `sin(progress * PI)` bell curve — zero at start/end, peak at 0.5 - Each portal's color and destination URL stored in `userData` at creation time - Navigation fires at `progress >= 0.88` (during the flash) so the transition feels seamless - `WARP_DURATION` extended from 1.5s → 2.2s for the full dramatic arc
claude added 1 commit 2026-03-24 05:14:48 +00:00
feat: enhanced warp tunnel vortex effect for portal transitions (#232)
Some checks failed
CI / validate (pull_request) Failing after 15s
CI / auto-merge (pull_request) Has been skipped
9151aeeb11
- Replace basic swirl shader with full vortex tunnel effect:
  - Radial speed lines (28 primary + 14 counter-rotating) streaking past
  - Zoom pull: scene rushes into the vortex mouth
  - Swirl twist intensifying with portal depth
  - Chromatic aberration at peak for sci-fi feel
  - Portal-colored bloom from vortex center
  - Tunnel rim glow ring
  - White screen flash at crossing moment
- Add progress uniform (0→1) driving bell-curve intensity via sin(progress*PI)
- Portal color tints the warp based on each portal's own color
- Navigate to portal destination URL at flash peak (progress≥0.88)
- Store destinationUrl and portalColor in portal mesh userData
- Extend WARP_DURATION from 1.5s → 2.2s for full dramatic effect

Fixes #232
claude merged commit d2b483deca into main 2026-03-24 05:15:14 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Timmy_Foundation/the-nexus#351