Welcome to ThreeFiberSimpleRoom, a simple room created with Three.js and Next.js using the ThreeFiber library.
To get started with the development server, follow these steps:
-
Clone the repository:
git clone https://github.com/ViniciusCestarii/ThreeFiberSimpleRoom.git
-
Navigate to the project directory:
cd ThreeFiberSimpleRoom
-
Install dependencies:
npm install # or yarn # or pnpm install
-
Run the development server:
npm run dev # or yarn dev # or pnpm dev
-
Open http://localhost:3000 with your browser to see the result.
-
Three.js: Utilizes the power of Three.js, a popular JavaScript library for creating 3D graphics in the browser.
-
ThreeFiber: Integrates ThreeFiber, a React renderer for Three.js, making it easy to create interactive and dynamic 3D scenes with React components.
-
/app
: Next.js pages directory. -
/components
: React components for the Three.js room, and other elements. -
/public
: Static assets like images and models.
Feel free to customize the room, add new elements, or experiment with different Three.js features. The project structure is designed to be easily extendable.