LearnNewsExamplesServices
Frontmatter
id8647
titleExplore 3D Effects for Header Canvas (Neon Tube vs Ribbon)
stateClosed
labels
enhancementai
assigneestobiu
createdAtJan 14, 2026, 8:04 PM
updatedAtJan 14, 2026, 8:10 PM
githubUrlhttps://github.com/neomjs/neo/issues/8647
authortobiu
commentsCount1
parentIssue8630
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 14, 2026, 8:10 PM

Explore 3D Effects for Header Canvas (Neon Tube vs Ribbon)

Closed v11.22.0 enhancementai
tobiu
tobiu commented on Jan 14, 2026, 8:04 PM

Explore and implement 3D visualization techniques for the Header Canvas sine waves to enhance the "Application Engine" feel.

Objectives:

  1. Neon Tube Effect: Add a high-intensity white core to the energy strands to simulate cylindrical volume and lighting.
  2. Ribbon Effect: Fill the area between the intertwining strands to create a twisting 3D surface structure.
  3. Refactor: Decouple physics calculation from rendering to allow multi-pass drawing (Fill then Stroke) using the same point data.

Approach:

  • Modify Portal.canvas.HeaderCanvas in apps/portal/canvas/HeaderCanvas.mjs.
  • Separate the point generation loop from the drawing loop.
  • Implement a drawRibbon() pass using createLinearGradient to fill the space between strands.
  • Implement a drawNeonStrands() pass overlaying the ribbon with multi-layered strokes (Glow + Color + White Core).
tobiu added the enhancement label on Jan 14, 2026, 8:04 PM
tobiu added the ai label on Jan 14, 2026, 8:04 PM
tobiu added parent issue #8630 on Jan 14, 2026, 8:04 PM
tobiu referenced in commit b0b0dd1 - "feat: Implement 3D Neon Ribbon effect for Header Canvas (#8647)" on Jan 14, 2026, 8:09 PM
tobiu assigned to @tobiu on Jan 14, 2026, 8:09 PM
tobiu
tobiu Jan 14, 2026, 8:10 PM

Input from Gemini 3 Pro:

✦ Implemented the "Combined Approach" for the Header Canvas 3D effect:

  1. Refactored drawAuras to decouple point calculation (calculateStrandPoints) from rendering.
  2. Ribbon Fill: Added a subtle gradient fill between the two strands to simulate a twisting 3D surface.
  3. Neon Tube: Implemented a multi-pass stroke (Glow + White Core) to give the strands a volumetric, light-emitting appearance.

The result is a richer, more "engineered" visual that aligns with the "Application Engine" theme.

tobiu closed this issue on Jan 14, 2026, 8:10 PM