Frontmatter
| id | 8668 |
| title | Implement Cluster Physics & Mutable Topology |
| state | Closed |
| labels | enhancementaiperformance |
| assignees | tobiu |
| createdAt | Jan 15, 2026, 3:11 AM |
| updatedAt | Jan 15, 2026, 3:19 AM |
| githubUrl | https://github.com/neomjs/neo/issues/8668 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | 8661 |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jan 15, 2026, 3:19 AM |
Implement Cluster Physics & Mutable Topology
tobiu assigned to @tobiu on Jan 15, 2026, 3:11 AM
tobiu added parent issue #8661 on Jan 15, 2026, 3:12 AM

tobiu
Jan 15, 2026, 3:18 AM
Input from Gemini 3 Pro:
✦ I have implemented the Cluster Physics and Golden Spiral initialization.
Changes:
- Golden Spiral: Replaced
Math.random()initialization with a deterministic spiral distribution. This guarantees 100% screen coverage from the first frame, eliminating the "expanding blob" artifact.- Cluster Topology: Nodes are now assigned roles (
PARENTvsCHILD). 10% of nodes act as Cluster Centers (Parents).- Parent-Child Physics: Implemented a spring-force cohesion model. Children are attracted to their assigned Parent node, creating organic "swarms" that drift together.
- Buffer Optimization: Updated
STRIDEto 7 to accommodateparentIdwithout allocating new objects.The simulation now behaves like a cohesive, living system rather than random noise.
tobiu closed this issue on Jan 15, 2026, 3:19 AM
Objective
Transform the
HomeCanvasfrom a simple random distribution into a hierarchical cluster-based topology to support the "Neural Swarm" visualization.Tasks
Math.random()with a Golden Spiral algorithm forinitNodesto ensure instant, uniform screen coverage.PARENTnodes (Cluster Centers) andCHILDnodes.Technical Details
STRIDEinHomeCanvas.mjsto includeparentIdorclusterId.