This example uses:
threejs
: A lightweight, 3D library with a default WebGL renderer. The library also provides Canvas 2D, SVG and CSS3D renderers in the examples.
react-three-fiber
: A React renderer for Threejs on the web and react-native.
drei
: A growing collection of useful helpers and abstractions for react-three-fiber.
Deploy the example using Vercel:
Execute create-next-app
with npm or Yarn to bootstrap the example:
npx create-next-app --example with-three-js with-three-js-app
# or
yarn create next-app --example with-three-js with-three-js-app
Deploy it to the cloud with Vercel (Documentation).