Skip to content

A web-based 3D drone flight simulator built with Three.js that offers both normal and beginner control modes.

Notifications You must be signed in to change notification settings

eccc20984/drone-simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Drone Simulator

A web-based 3D drone flight simulator built with Three.js that offers both normal and beginner control modes.

Features

  • Realistic 3D drone physics
  • Two control modes: Normal and Beginner
  • Real-time flight controls
  • In-game timer
  • Visual feedback and crosshair
  • Sky environment

Prerequisites

  • Node.js (Latest LTS version recommended)
  • A modern web browser

Installation

  1. Clone the repository:
git clone https://github.com/YOUR_USERNAME/drone-simulator.git
cd drone-simulator
  1. Install dependencies:
npm install
  1. Start the server:
node server.js
  1. Open your browser and navigate to http://localhost:3000

Controls

Normal Mode

  • W/S - Forward/Backward
  • A/D - Move Left/Right
  • Arrow Up/Down - Tilt

Beginner Mode (Press B to toggle)

  • Click screen to lock mouse
  • Mouse - Control Direction
  • W - Throttle
  • Space - Up
  • Shift - Down
  • ESC - Release mouse

Technologies Used

  • Three.js for 3D graphics
  • Node.js for local development server
  • HTML5 and CSS3 for UI

License

MIT License

About

A web-based 3D drone flight simulator built with Three.js that offers both normal and beginner control modes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published