Skip to content

giraphics/arc-rotate-camera-panning

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Install

npm install

Run

  • npm run dev
  • Go to localhost:8080 in the web browser

Environment

The index.ts script loads a simple Babylon.js scene and adds three primitive objects: Cylinder, Cube, IcoSphere. Selecting a mesh bring's up the UI in right hand panel window with primitives parameters adjustment. When a primitive mesh is selected, the UI display options specific for the selected primitive. It should be possible to set:

  • For the Cube: 3 dimensions: width, height, depth (range 0.1-2.0)
  • For the Cylinder: Diameter and height (range 0.1-2.0)
  • For the IcoSphere: Diameter (range 0.1-2.0) and subdivisions (range 1-10)

On clicking the Geometries the selected mesh get bounce.

Demo

About

Babylon JS - Arc Rotate Camera Panning

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published