This example is inspired from the official Threejs BufferGeometry Drawrange example.
The official example draws the neural network inside a cube. The re-written version shown at the top, was converted to React Three Fiber. The dots and lines were also normalized and scaled to represent a sphere.
git clone https://github.com/Sean-Bradley/React-Three-Fiber-Boilerplate.git
git checkout neuralNetwork