Skip to content

Pan & zoom

Preview of the Pan & zoom demo
Pan & zoom Drag to pan and scroll to zoom a world-space grid. createViewport tracks the camera and bindViewport wires pointer gestures to it.