Skip to content

Repository files navigation

Robot Museum

An interactive 3D museum built with Three.js technology, showcasing various exhibitions presented by a robot in a post-apocalyptic world where humanity has practically become extinct. PLAY NOW

Features

  • Interactive 3D museum environment
  • Multiple exhibits and displays
  • Sound effects and background music
  • Camera controls and navigation
  • Responsive design

Installation and Setup

Prerequisites

  • Node.js (latest LTS version recommended)
  • Modern web browser (Chrome recommended)

Local Development

  1. Clone or download the project to your local machine
  2. Open a terminal in the project directory
  3. Install dependencies (if not already installed):
    npm install
  4. Start the development server:
    npx vite
  5. Open your browser and navigate to the localhost URL displayed in the terminal

Production Build

To build the project for production:

npm run build

Project Structure

Robot Museum/
├── index.html          # Main HTML file
├── main.js            # Main application logic
├── style.css          # Styles
├── setup/             # Three.js setup modules
│   ├── camera.js      # Camera configuration
│   ├── controls.js    # Controls setup
│   ├── lights.js      # Lighting setup
│   ├── loader.js      # Asset loading
│   └── skybox.js      # Skybox configuration
├── utils/             # Utility modules
│   ├── animationController.js  # Handles animations and transitions
│   ├── eventManager.js         # Manages user interactions and events
│   ├── flyTo.js               # Camera movement and navigation
│   └── keyboard.js            # Keyboard input handling
└── public/            # Static assets
    ├── models/        # 3D models
    ├── sounds/        # Audio files
    ├── textures/      # Textures and materials
    └── images/        # Images and UI elements

Dependencies

  • Three.js (^0.172.0) - 3D graphics library
  • dat.GUI (^0.7.9) - Debug interface
  • Vite (^6.0.7) - Build tool and dev server

Resources and Licenses

List of resources used in the project. Thanks to all creators for their kindness.

[modified] - The resource has been modified

CC BY 4.0 License

CC BY-NC 4.0 License

CC0 License

CC BY 3.0 License

Royalty Free License

Other Licenses

About

An interactive 3D museum built with Three.js technology

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages