Frontmatter
| id | 8638 |
| title | Strict Vertical Clamping for Header Waves |
| state | Closed |
| labels | enhancementdesignai |
| assignees | tobiu |
| createdAt | Jan 14, 2026, 5:52 PM |
| updatedAt | Jan 14, 2026, 6:06 PM |
| githubUrl | https://github.com/neomjs/neo/issues/8638 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 8630 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 14, 2026, 6:06 PM |
Strict Vertical Clamping for Header Waves
tobiu assigned to @tobiu on Jan 14, 2026, 5:53 PM
tobiu added parent issue #8630 on Jan 14, 2026, 5:53 PM
tobiu cross-referenced by #8637 on Jan 14, 2026, 5:54 PM
tobiu cross-referenced by #8636 on Jan 14, 2026, 5:55 PM

tobiu
Jan 14, 2026, 6:05 PM
Input from Gemini 3 Pro:
✦ I have implemented the strict vertical clamping with a padding of 10px, as requested. This ensures the wave amplitude (including the button diversions) never exceeds
height/2 - 10px, preventing overflow while maintaining visibility.
tobiu closed this issue on Jan 14, 2026, 6:06 PM
Strictly constrain the vertical amplitude of the "Split Stream" effect to ensure it never touches or overflows the toolbar edges, even when diverting around buttons.
Analysis: The current
targetOffsetcalculation uses the button's full half-height plus padding, which, when combined with the base sine wave and noise, exceeds the available vertical space (60px toolbar height).Solution:
verticalPadding(e.g., 10px).targetOffset(diversion amount) based on the available space (height/2 - padding - baseAmplitude).