vasturiano / d3-force-3d

Force-directed graph layout in 1D, 2D or 3D using velocity Verlet integration.
https://observablehq.com/@vasturiano/multi-dimensional-d3-force-simulation
MIT License
369 stars 52 forks source link

How is the positions (x,y,z) calculated. #21

Open anilSimon123 opened 1 year ago

anilSimon123 commented 1 year ago

Hi,

just been exploring some of the 3d Algorithms we use to calculate x,y, z of points for a 3d force graph. However the best approach i have seen is to use a python library. Can i ask how you calculate positions? Do you do custom intense calculations? or is it just a library which i missed out on?

Thanks heaps

vasturiano commented 1 year ago

@anilSimon123 it's a force directed simulation engine. Read more at: https://github.com/vasturiano/d3-force-3d