Skip to content

Commit

Permalink
touch-ups
Browse files Browse the repository at this point in the history
  • Loading branch information
luke-carlson committed Feb 9, 2017
1 parent 12888f9 commit 114224a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
### Name and Project Name
Luke Carlson - Threejs project
### Link to GitHub Pages site
[right here](http://pennvr.github.io/three-js-jlukec)
[right here](https://pennvr.github.io/three-js-jLukeC/)
### Techniques used, and why those techniques
For this assignment I built a version of the [diamond square algorithm](https://en.wikipedia.org/wiki/Diamond-square_algorithm) to generate my terrain from a PlaneGeometry. It seemed like a reasonable way to generate the terrain. You can see the code at js/diamond_square.js

For my particle system, I created a bunch of small red spheres that explode in random directions.

For controls, I used code from the PointerLockControl & webvr cube THREE.js examples. Those examples were super helpful for setting up my environment & world.
That way I could test both with a headset in VR and on a laptop with the mouse
That way I could test both with a headset in VR and on a laptop with the mouse (and keyboard to move around for debugging).
### Instructions on building/assembling/etc. Also document how to run the code
No assembly required, just load the index.html page (which will load my js/diamond_square.js algorithm and the external libs).

Expand Down
2 changes: 2 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,8 @@

document.body.appendChild(WEBVR.getMessage());

} else {
blocker.style.display = 'none';
}

var camera, scene, renderer;
Expand Down

0 comments on commit 114224a

Please sign in to comment.