three-orbit-viewer
Advanced tools
Comparing version 69.2.3 to 69.2.4
{ | ||
"name": "three-orbit-viewer", | ||
"version": "69.2.3", | ||
"version": "69.2.4", | ||
"description": "quick harness for viewing a mesh with orbit viewer", | ||
@@ -20,8 +20,10 @@ "main": "index.js", | ||
"devDependencies": { | ||
"browserify": "^8.0.3", | ||
"domready": "^1.0.7", | ||
"eases": "^1.0.2", | ||
"scriptjs": "^2.5.7" | ||
"three": "^0.69.0", | ||
"wzrd": "^1.1.1" | ||
}, | ||
"scripts": { | ||
"test": "node test.js" | ||
"test": "wzrd demo/test.js" | ||
}, | ||
@@ -28,0 +30,0 @@ "keywords": [ |
@@ -5,3 +5,3 @@ # three-orbit-viewer | ||
Quick harness to create a runnable demo for ThreeJS scenes. For a complete demo, see [three-gl-state-example](https://github.com/Jam3/three-gl-state-example). | ||
Quick harness to create a runnable demo for ThreeJS scenes. For a demo, see [demo/test.js](demo/test.js) or [three-gl-state-example](https://github.com/mattdesl/three-gl-state-example). | ||
@@ -73,4 +73,16 @@ ```js | ||
#### Versioning | ||
## Running the Demo | ||
To build and run the demo, git clone this repo then: | ||
```sh | ||
cd three-orbit-viewer | ||
npm install | ||
npm test | ||
``` | ||
And open `localhost:9966` in your browser. | ||
## Versioning | ||
This uses an unusual versioning system to better support ThreeJS's (lack of) versioning. The major version of this repo will line up with ThreeJS releases (`69.0.0` => `r69`). The minor will be reserved for any new features, and patch for bug fixes and documentation/readme updates. In some rare cases, a minor feature may introduce a breaking change; so it's generally safest to use tilde or `save-exact` for this module. | ||
@@ -77,0 +89,0 @@ |
7748
90
5