Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

collision detection with variable size markers - keep sizes constant #73

Open
gase12 opened this issue Dec 20, 2021 · 2 comments
Open

Comments

@gase12
Copy link

gase12 commented Dec 20, 2021

hi. I am trying to prevent the circle collision detector script to rescale the markers if they overlap.
I am doing a dataviz project and using sizes to represent data.
even with fixed circle size the algorithm rescales nodes.

any suggestion on turning off this feature?
lambda is wired in too much, so i am not sure what to modify exactly.
c1.r *= lambda1; c2.r *= lambda2;

thanks

@manubb
Copy link
Owner

manubb commented Dec 20, 2021

Hi. I don't think that the solveCollision algorithm can be easily modified so that markers keep a constant size.

@gase12
Copy link
Author

gase12 commented Dec 20, 2021

hm. ok. no prob. I will look into something else then to solve this on canvas
thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants