Next + React Three Fiber
A minimalist starter for React, React-three-fiber and Threejs.
Drag, scroll, pinch, and rotate the canvas to explore the 3D scene.
3D Divs are rendered through the View component. It uses gl.scissor to cut the viewport into segments. You tie a view to a tracking div which then controls the position and bounds of the viewport. This allows you to have multiple views with a single, performant canvas. These views will follow their tracking elements, scroll along, resize, etc.