Skip to content

Latest commit

 

History

History
45 lines (27 loc) · 1005 Bytes

File metadata and controls

45 lines (27 loc) · 1005 Bytes

Camera Behaviors

This is sample code demonstrating a technique of switching between camera behaviors, as discussed in the accompanying blog post.

Development

Setup

After cloning the repository, run:

npm i

Running

Run

npm start

Then access http://localhost:8888/.

Deploying

To generate deployable assets, run:

npm run build

They will be written to dist/.

Dependencies

The front end uses three.js for WebGL, tween.js for animations, and React for HTML5.

JavaScript is written in ES2015 using Babel. Styles are written in SASS. All assets are preprocessed with webpack.

License

This software is distributed under the ISC license.