Skip to content

develop-build/threejs-war

Repository files navigation

🎲 Rotating Cube - React Three Fiber

A simple 3D rotating cube built using @react-three/fiber and Three.js. The cube rotates along the X and Y axes with a smooth animation, utilizing meshNormalMaterial for a colorful shading effect.

🚀 Live Demo

🔗 View Live Project

📹 Preview

🎥 Watch the rotating cube in action:
Rotating Cube

🛠 Tech Stack

React (18.x)
@react-three/fiber - React renderer for Three.js
@react-three/drei - Useful helpers for Three.js
Three.js - WebGL-powered 3D graphics

📦 Installation

Clone the repository and install dependencies:

git clone https://github.com/develop-build/threejs-war.git
cd rotating-cube
npm install
npm run dev

Releases

No releases published

Packages

 
 
 

Contributors