Skip to content

Latest commit

 

History

History
37 lines (26 loc) · 732 Bytes

File metadata and controls

37 lines (26 loc) · 732 Bytes

Babylon.js Project

A basic 3D project using Babylon.js.

Setup

  1. Install dependencies:
npm install
  1. Start the development server:
npm start
  1. Open your browser and navigate to http://localhost:5687

Features

  • Basic 3D scene with a rotating box
  • Arc-rotate camera for easy navigation
  • Responsive canvas that adapts to window size
  • Basic lighting setup

Controls

  • Left click + drag: Rotate camera
  • Right click + drag: Pan camera
  • Mouse wheel: Zoom in/out

Development

The project structure is as follows:

  • index.html: Main HTML file with canvas setup
  • app.js: Main JavaScript file containing the Babylon.js scene
  • package.json: Project configuration and dependencies