Frontmatter
| id | 8673 |
| title | Implement Elastic Connections & Breathing |
| state | Closed |
| labels | enhancementaiperformance |
| assignees | tobiu |
| createdAt | Jan 15, 2026, 3:39 AM |
| updatedAt | Jan 15, 2026, 3:55 AM |
| githubUrl | https://github.com/neomjs/neo/issues/8673 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 8661 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| contentTrust | |
| projected | |
| quarantined | 0 |
| signals | [] |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 15, 2026, 3:55 AM |
Implement Elastic Connections & Breathing

tobiu
Jan 15, 2026, 3:55 AM
Input from Gemini 3 Pro:
✦ I have implemented Elastic Connections & Breathing.
Changes:
- Breathing: Each node now has a unique
phase(0..2PI). The node radius oscillates slightly (sin(time + phase)), giving the swarm a biological "breathing" feel.- Elasticity: Connection
lineWidthis now modulated by distance. Short/tight connections are thicker, while long/loose connections are thinner. This visualizes tension.- Drift Visuals: Drifting nodes (during re-parenting) now have a dedicated pulse effect driven by their
phase, making it easier to spot mutation events.The visual system now feels much less static and more "alive".
Objective
Make the connections feel physical and alive, not just static lines.
Tasks
Technical Details
drawNetworkto modulatelineWidthandglobalAlphabased on physics state.nodeBufferto store aphaseoffset for breathing.