Camera Navigation

Inertial 3D camera controls for drag, wheel, pinch, WASD and QE. Mount on your own scene; the standalone demo uses a finite wireframe space with no gallery.

Exact preview of Camera Navigation
Type
Component
Category
WebGL
Source license
MIT
Collection
Open Source Experiences

View source in the repository

Usage

// Place this example in vendor/experiences/infinite-canvas/src/example.jsx.
// Use that project's isolated dependencies and Vite setup (see its README).
// Rebuild the included native runtimes with: npm run build:experiences

import { Canvas } from '@react-three/fiber';
import { CameraNavigation } from './parts/CameraNavigation';

export function NavigableScene() {
  return <Canvas camera={{ position: [0, 0, 50], fov: 60 }}>
    <CameraNavigation>
      <mesh><boxGeometry args={[8, 8, 8]} /><meshBasicMaterial color="#8daba5" wireframe /></mesh>
    </CameraNavigation>
  </Canvas>;
}

License and credits

Infinite Canvas by Edoardo Lunardi / Codrops. Original upstream source

Read the original MIT license

Credits and asset notices

Third-party assets and dependencies

196 Art Institute of Chicago public-domain paintings: every included image ID matches the official API and is_public_domain=true; audit at /experiences/infinite-canvas/artwork-license-audit.json. Museum: https://www.artic.edu/open-access

Original title, artist, date and artwork link retained in /experiences/infinite-canvas/artworks/manifest.json. Fifteen stale image-ID files omitted; no generated media or remote embed.

Keep the original source and media notices with your copy.

Explore more

  • Liquid FormExact preview of Liquid Form

    A centered silver ray-marched liquid form with authored studio reflections and pointer-responsive camera drift.

  • Boarding PassExact preview of Boarding Pass

    A live flight pass whose changed gate and times roll over like a departures board.

  • Aurora TextExact preview of Aurora Text

    Multi-colour aurora motion within a large type specimen.

Frontfield homepage