I am attempting to display a d3 force graph in three.js using standard Line and BoxGeometry with a photo texture applied. When the force graph is updated, I call the draw function which is triggered by:
controls.addEventListener('change', () => {this.redraw()});
However, when I move the camera, some of the lines disappear, especially when viewed up close. It appears that there is no specific pattern to the disappearing lines, even when zoomed in on the graph.
Here are some examples:
https://i.sstatic.net/YvYlV.png
https://i.sstatic.net/M04Zx.png
https://i.sstatic.net/bx2WX.png
https://i.sstatic.net/ni1su.png
I attempted scaling down units
And setting frustum to false
Full code:
(Code here - too lengthy to include in response)