-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Etienne
committed
Jul 10, 2017
1 parent
b35ad52
commit ff825f7
Showing
107 changed files
with
923 additions
and
1,543 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,5 +26,5 @@ _projects | |
|
||
# Dev | ||
node_modules | ||
build/ | ||
lib/ | ||
dist/ | ||
vendors/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
# This gets automatically populated bij gulp | ||
|
||
exports.date = 1499687481 | ||
exports.branch = "master" | ||
exports.hash = "b35ad52-dirty" | ||
exports.build = 4 | ||
exports.version = "#{exports.branch}/#{exports.hash}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
module.exports = | ||
VENDORS: [ | ||
name: 'aframe' | ||
path: 'https://raw.githubusercontent.com/aframevr/aframe/master/dist/aframe-master.min.js' | ||
, | ||
name: 'aframe_gif_shader' | ||
path: 'https://rawgit.com/mayognaise/aframe-gif-shader/master/dist/aframe-gif-shader.min.js' | ||
, | ||
name: 'aframe_effects' | ||
path: 'https://wizgrav.github.io/aframe-effects/dist/aframe-effects.min.js' | ||
, | ||
name: 'aframe_look_at' | ||
path: 'https://raw.githubusercontent.com/ngokevin/kframe/master/components/look-at/dist/aframe-look-at-component.min.js' | ||
, | ||
name: 'aframe_mouse_cursor' | ||
path: 'https://rawgit.com/mayognaise/aframe-mouse-cursor-component/master/dist/aframe-mouse-cursor-component.min.js' | ||
] | ||
VENDORS_PATH: './vendors' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
# Docs | ||
|
||
Hologram allow you to building virtual reality (VR) experiences. It is focus on simplicity and fun. | ||
It is easy to get started with Hologram. With the scene editor, you don't even need a single line of code to create your first scene! | ||
Hologram supports most VR headsets such as Vive, Rift, Daydream, GearVR, Cardboard. | ||
|
||
## [Get started](#getstarted) | ||
|
||
|
||
1. Entities | ||
|
||
Entities can be Box, Sphere, Plane, Sky and more. They have a hierachy and properties defining their position, rotation, scale, appearance and interactivity. | ||
|
||
[More on Entities](#entity) | ||
|
||
2. Animation | ||
|
||
Animate states or layer properties like scale and color with various easing or spring curves, repeat and delay options and more. | ||
|
||
[More on Animation](#animation) | ||
|
||
4. Events | ||
|
||
Events are used to detect and respond to user interactions in VR when clicking or gazing, animations that start or end, repond to physics events and more. | ||
|
||
[More on Events](#entity-events) | ||
|
||
3. Assets | ||
|
||
Assets can be images, sounds, video, 3D models. The asset management system allows you to place your assets in one place and to preload and cache assets for better performance. | ||
|
||
[More on Assets](#assets) | ||
|
||
|
||
|
||
### [Simple example](#getstarted-example) | ||
|
||
Here is a simple example to get you started! | ||
|
||
myBox = new Box | ||
position: "-1 0.5 -3" | ||
rotation: "0 45 0" | ||
color: "#4CC3D9" | ||
|
||
mySphere = new Sphere | ||
position: "0 1.25 -5" | ||
radius: 1.25 | ||
color: "#EF2D5E" | ||
|
||
myCylinder = new Cylinder | ||
position: "1 0.75 -3" | ||
radius: 0.5 | ||
color: "#EF2D5E" | ||
|
||
myPlane = new Plane | ||
position: "0 0 -4" | ||
rotation: "-90 0 0" | ||
width: 4 | ||
height: 4 | ||
color: "#7BC8A4" | ||
|
||
mySky = new Sky | ||
color: "#ECECEC" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.