vasturiano / 3d-force-graph

3D force-directed graph component using ThreeJS/WebGL
https://vasturiano.github.io/3d-force-graph/example/large-graph/
MIT License
4.74k stars 829 forks source link

Example with R3F (React-Three-Fiber) ? #412

Open Lorenzowy opened 3 years ago

Lorenzowy commented 3 years ago

Is your feature request related to a problem? Please describe. Is it possible to use R3F with your package? Could be

Describe the solution you'd like Provide an example if either is possible?

Describe alternatives you've considered I'm able to code with normal threeJS, but was wondering if r3f was possible.

vasturiano commented 3 years ago

@Lorenzowy I don't think you could integrate with this component directly since both have their own scene and renderer.

But you could possibly use it with three-forcegraph. I suppose you'd just need to make a React wrapper around that ThreeJS plain component that could be included in R3F.