anvaka / anvaka/ngraph.physics.simulator

Dynamically update Spring Length

Open
#2 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
26
Forks
6
PR merge metrics
No merged PRs in 30d

Description

I have dynamically changing connectionStrength (as per customLinkLength demo), and need to propagate the change to the physics engine. Spring Transform seems to only set the length initially.

Is there a preferred way to update the spring lengths dynamically?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with the customLinkLength demo and the Spring Transform behavior mentioned in the issue. Trace how connectionStrength is passed to the physics engine and determine the preferred update entry point. Done means dynamic strength changes update spring lengths without reinitializing them, with the usage documented or demonstrated.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
computer-graphics
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.