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
1 parent
7b065c9
commit 7fa7357
Showing
76 changed files
with
33,249 additions
and
15,324 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1"><meta name="web-app-capable" content="yes"><meta name="theme-color" content="black"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><meta name="description" content="A WebVR application framework."><meta name="keywords" content="WebGL, WebVR, HTML5, JavaScript, text editor, source code editor, virtual reality, Primrose"><meta property="og:type" content="website"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:site" content="@Primrose_VR"><meta property="og:site_name" content="Primrose VR"><meta property="og:description" content="Primrose: Framework for WebVR Applications"><meta name="twitter:description" content="Primrose: Framework for WebVR Applications"><meta property="og:url" content="http://www.primrosevr.com/undefined"><!-- start main.pug meta block --><!-- end main.pug meta block --> | ||
<!-- start main.pug title block --><meta property="og:title" content="Primrose VR: WebVR Application Framework"><meta name="twitter:title" content="Primrose VR: WebVR Application Framework"><title>Primrose VR: WebVR Application Framework</title><!-- end main.pug title block --><link type="text/css" rel="stylesheet" href="../../demos/style.min.css"><style>#frontBuffer { background-image:url(screenshot.jpg); }</style><script src="../../preloader.min.js" data-files="../../Primrose.min.js,app.min.js"></script></head><body><!-- start demoIFrame.pug main block --><h1>Example: Calendar</h1><canvas id="frontBuffer"></canvas><div id="controls"><div id="fullScreenButtonContainer"></div><progress></progress></div><!-- end demoIFrame.pug main block --></body></html> | ||
<!-- start main.pug title block --><meta property="og:title" content="Primrose VR: WebVR Application Framework"><meta name="twitter:title" content="Primrose VR: WebVR Application Framework"><title>Primrose VR: WebVR Application Framework</title><!-- end main.pug title block --><link type="text/css" rel="stylesheet" href="../../demos/style.min.css"><style>#frontBuffer { background-image:url(screenshot.jpg); }</style><script src="../../preloader.min.js" data-files="../../node_modules/cannon/build/cannon.min.js,../../Primrose.min.js,app.min.js"></script></head><body><!-- start demoIFrame.pug main block --><h1>Example: Calendar</h1><canvas id="frontBuffer"></canvas><div id="controls"><div id="fullScreenButtonContainer"></div><progress></progress></div><!-- end demoIFrame.pug main block --></body></html> |
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 |
---|---|---|
@@ -1,2 +1,2 @@ | ||
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1"><meta name="web-app-capable" content="yes"><meta name="theme-color" content="black"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><meta name="description" content="A WebVR application framework."><meta name="keywords" content="WebGL, WebVR, HTML5, JavaScript, text editor, source code editor, virtual reality, Primrose"><meta property="og:type" content="website"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:site" content="@Primrose_VR"><meta property="og:site_name" content="Primrose VR"><meta property="og:description" content="Primrose: Framework for WebVR Applications"><meta name="twitter:description" content="Primrose: Framework for WebVR Applications"><meta property="og:url" content="http://www.primrosevr.com/undefined"><!-- start main.pug meta block --><!-- end main.pug meta block --> | ||
<!-- start main.pug title block --><meta property="og:title" content="Primrose VR: WebVR Application Framework"><meta name="twitter:title" content="Primrose VR: WebVR Application Framework"><title>Primrose VR: WebVR Application Framework</title><!-- end main.pug title block --><link type="text/css" rel="stylesheet" href="../../demos/style.min.css"><style>#frontBuffer { background-image:url(screenshot.jpg); }</style><script src="../../preloader.min.js" data-files="../../Primrose.min.js,app.min.js"></script></head><body><!-- start demoIFrame.pug main block --><h1>Example: Empty</h1><canvas id="frontBuffer"></canvas><div id="controls"><div id="fullScreenButtonContainer"></div><progress></progress></div><!-- end demoIFrame.pug main block --></body></html> | ||
<!-- start main.pug title block --><meta property="og:title" content="Primrose VR: WebVR Application Framework"><meta name="twitter:title" content="Primrose VR: WebVR Application Framework"><title>Primrose VR: WebVR Application Framework</title><!-- end main.pug title block --><link type="text/css" rel="stylesheet" href="../../demos/style.min.css"><style>#frontBuffer { background-image:url(screenshot.jpg); }</style><script src="../../preloader.min.js" data-files="../../node_modules/cannon/build/cannon.min.js,../../Primrose.min.js,app.min.js"></script></head><body><!-- start demoIFrame.pug main block --><h1>Example: Empty</h1><canvas id="frontBuffer"></canvas><div id="controls"><div id="fullScreenButtonContainer"></div><progress></progress></div><!-- end demoIFrame.pug main block --></body></html> |
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,15 @@ | ||
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, shrink-to-fit=0, initial-scale=1.0"><meta name="apple-touch-fullscreen" content="yes"><meta name="web-app-capable" content="yes"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><meta name="theme-color" content="black"><meta name="description" content="A WebVR application framework."><meta name="keywords" content="WebGL, WebVR, HTML5, JavaScript, text editor, source code editor, virtual reality, Primrose"><meta property="og:type" content="website"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:site" content="@Primrose_VR"><meta property="og:site_name" content="Primrose VR"><meta property="og:description" content="Primrose: Framework for WebVR Applications"><meta name="twitter:description" content="Primrose: Framework for WebVR Applications"><meta property="og:url" content="http://www.primrosevr.com/undefined"><!-- start main.pug meta block --><meta name="twitter:image" content="http://www.primrosevr.com/images/screenshot.min.jpg"><meta property="og:image" content="http://www.primrosevr.com/images/screenshot.min.jpg"><!-- end main.pug meta block --> | ||
<!-- start main.pug title block --><meta property="og:title" content="Primrose VR: WebVR Application Framework"><meta name="twitter:title" content="Primrose VR: WebVR Application Framework"><title>Primrose VR: WebVR Application Framework</title><!-- end main.pug title block --><link type="text/css" rel="stylesheet" href="../doc/style.min.css"><script src="../node_modules/pliny/pliny.min.js"></script><script src="../Primrose.min.js"></script><script src="../doc/app.min.js"></script><script src="../ga.js"></script></head><body><header role="banner"><a id="logo" href="../"><img src="../doc/images/primrose40.min.png" alt="logo" title="Primrose logo"><span class="version-number">v0.32.0</span></a><nav role="navigation"><ul><li><a href="../demos/">Demos</a></li><li><a href="../doc/">Docs</a></li><li><a href="../doc/faq.html">FAQ</a></li><li><a href="../doc/community.html">Community</a></li><li><a href="https://github.com/capnmidnight/Primrose/" target="_blank">Github</a></li></ul></nav><h1>Demo: dataViz</h1></header><!-- start main.pug banner block --><!-- end main.pug banner block --> | ||
<!-- start main.pug main block --><main><!-- start demo.pug banner block --><p>Click on the image below to lock mouse cursor to demo. <a href="../demos/dataViz" target="_blank">Open demo in new window</a>.</p><iframe id="demo" src="../demos/dataViz" style="width: 100%;height: 50vw;" allowfullscreen allowvr></iframe><h2>Source</h2><pre id="editorContainer">grammar("JavaScript"); | ||
var env = new Primrose.BrowserEnvironment({ | ||
backgroundColor: 0x000000, | ||
groundTexture: "../shared_assets/images/deck.png", | ||
useFog: true, | ||
drawDistance: 100, | ||
fullScreenButtonContainer: "#fullScreenButtonContainer", | ||
nonstandardNeckLength: 0.15, | ||
nonstandardNeckDepth: 0.075, | ||
gravity: 0, | ||
}); | ||
</pre></main><!-- end main.pug main block --> | ||
<!-- start main.pug footer block --><footer><div id="footerWrapper"><a href="../doc/readme.html">About</a><a href="../doc/license.html">License</a><a href="../doc/changelog.html">Changelog</a><a class="small icon github" href="https://www.github.com/capnmidnight/Primrose" target="_blank"> </a><a class="small icon twitter" href="https://www.twitter.com/Primrose_VR" target="_blank"></a></div></footer><!-- end main.pug footer block --></body></html> |
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 @@ | ||
extends ../templates/demo.pug |
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,10 @@ | ||
var env = new Primrose.BrowserEnvironment({ | ||
backgroundColor: 0x000000, | ||
groundTexture: "../shared_assets/images/deck.png", | ||
useFog: true, | ||
drawDistance: 100, | ||
fullScreenButtonContainer: "#fullScreenButtonContainer", | ||
nonstandardNeckLength: 0.15, | ||
nonstandardNeckDepth: 0.075, | ||
gravity: 0, | ||
}); |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,2 @@ | ||
<!DOCTYPE html><html><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, maximum-scale=1"><meta name="web-app-capable" content="yes"><meta name="theme-color" content="black"><meta name="apple-mobile-web-app-capable" content="yes"><meta name="apple-mobile-web-app-status-bar-style" content="black"><meta name="description" content="A WebVR application framework."><meta name="keywords" content="WebGL, WebVR, HTML5, JavaScript, text editor, source code editor, virtual reality, Primrose"><meta property="og:type" content="website"><meta name="twitter:card" content="summary_large_image"><meta name="twitter:site" content="@Primrose_VR"><meta property="og:site_name" content="Primrose VR"><meta property="og:description" content="Primrose: Framework for WebVR Applications"><meta name="twitter:description" content="Primrose: Framework for WebVR Applications"><meta property="og:url" content="http://www.primrosevr.com/undefined"><!-- start main.pug meta block --><!-- end main.pug meta block --> | ||
<!-- start main.pug title block --><meta property="og:title" content="Primrose VR: WebVR Application Framework"><meta name="twitter:title" content="Primrose VR: WebVR Application Framework"><title>Primrose VR: WebVR Application Framework</title><!-- end main.pug title block --><link type="text/css" rel="stylesheet" href="../../demos/style.min.css"><style>#frontBuffer { background-image:url(screenshot.jpg); }</style><script src="../../preloader.min.js" data-files="../../node_modules/cannon/build/cannon.min.js,../../Primrose.min.js,app.min.js"></script></head><body><!-- start demoIFrame.pug main block --><h1>Example: Data Visualization</h1><canvas id="frontBuffer"></canvas><div id="controls"><div id="fullScreenButtonContainer"></div><progress></progress></div><!-- end demoIFrame.pug main block --></body></html> |
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,3 @@ | ||
extends ../../templates/demoIFrame.pug | ||
prepend main | ||
h1 Example: Data Visualization |
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.