This project is an example of a React application using Three.js with dynamic shaders and textures. Built with Next.js, it leverages react-three/fiber
and react-three/drei
to provide an interactive 3D experience.
- Node.js 18+
- Yarn (or npm)
-
Clone the repository:
git clone https://github.com/michaelperros/react-threejs-example.git
-
Navigate to the project directory:
cd react-threejs-example
-
Install dependencies:
yarn install
-
Start the development server:
yarn dev
-
Open your browser and go to
http://localhost:3000
.
MIT