

Three.js Journey
This was a guided project from Three.js Journey course, thanks Bruno Simon for the amazing content.
Live Demo
Check out the deployed version of the project: Haunted House Three.js
Project Structure
Setup
Download Node.js.
Run the following commands:
Project Details
Sky
The sky is created using the
Sky class and added to the scene with specific material uniforms for turbidity, rayleigh, mieCoefficient, mieDirectionalG, and sunPosition.Fog
Fog is added to the scene using
THREE.FogExp2 with a specific color and density.Animation
The animation loop updates the positions of three ghost objects and the controls, and renders the scene using the
renderer.Configuration
The project uses Vite for development and build processes. The configuration is defined in
vite.config.js.Dependencies
three: ^0.166.1lil-gui: ^0.19.2vite: ^5.3.3vite-plugin-restart: ^0.4.10 likes · 35 views · Feb 21, 2025
For fun project that i worked with three.js
Timeline
Dec 20, 2024 - Dec 27, 2024