https://github.com/tweedegolf/threejs-rotations
Show how to rotate the root scene to create an intuitive first person setting
https://github.com/tweedegolf/threejs-rotations
Last synced: 4 months ago
JSON representation
Show how to rotate the root scene to create an intuitive first person setting
- Host: GitHub
- URL: https://github.com/tweedegolf/threejs-rotations
- Owner: tweedegolf
- Created: 2015-04-19T20:04:48.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2018-07-20T13:50:52.000Z (almost 7 years ago)
- Last Synced: 2025-01-25T00:14:59.666Z (6 months ago)
- Language: JavaScript
- Size: 310 KB
- Stars: 1
- Watchers: 19
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Threejs rotations
## Dependencies
This project has 2 dependencies:* [Node.js](http://nodejs.org/)
* [npm](https://www.npmjs.org/)## Installing
Install the project dependencies using:npm install
This will install a.o. browserify and babelify.
## Commands
All code is written in es6 so you need to transpile the javascript code before it can run in a browser.npm run watch
Starts watchify and transpiles code as soon as a file has changed.
npm run build
Transpiles and builds the code with a separate sourcemap.
npm start
Starts a local webserver at port 8080.
## Description
## Live example
[https://tweedegolf.github.io/threejs-rotations/](https://tweedegolf.github.io/threejs-rotations/)