12
JavaScript & Argon creating Augmented Reality experiences using web technologies Maria Engberg 160406

JavaScript & Argon - Hem | Mah Webbmah-webb.github.io/courses/me152a/lectures/pdf/l8_me152a.pdfAR FEATURES & STANDARD WEB CONTENT geolocation video of the surrounding world (“reality”)

Embed Size (px)

Citation preview

Page 1: JavaScript & Argon - Hem | Mah Webbmah-webb.github.io/courses/me152a/lectures/pdf/l8_me152a.pdfAR FEATURES & STANDARD WEB CONTENT geolocation video of the surrounding world (“reality”)

JavaScript & Argon

creating Augmented Reality experiences using web technologies

Maria Engberg 160406

Page 2: JavaScript & Argon - Hem | Mah Webbmah-webb.github.io/courses/me152a/lectures/pdf/l8_me152a.pdfAR FEATURES & STANDARD WEB CONTENT geolocation video of the surrounding world (“reality”)

<!doctype html> </html> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0">

<!--three.js, a 3D Scene graph for the web--> <script src="../../js/three.js"></script>

<!--threestrap.js is a bootstrapping library that makes three.js easier to work with. Argon-three.js requires it--> <script src="../../js/threestrap.js"></script>

<!--The argon library support for integration of three.js and argon.js--> <script src="../../build/argon.js"></script> <script src="../../build/argon-three.js"></script>

<!-- One or more style sheets for styling the elements in the body --> <link rel="stylesheet" type="text/css" href="style.css">

<body> <div id="argon-immersive-context"> <!--any html for interface elements etc. that will appear on the screen in AR mode--> </div> <div> <!--one or more divs that you want to appear in "page mode" described below--> </div> </body>

<!--application javascript code--> <script src="../app.js"></script>

</html>

Page 3: JavaScript & Argon - Hem | Mah Webbmah-webb.github.io/courses/me152a/lectures/pdf/l8_me152a.pdfAR FEATURES & STANDARD WEB CONTENT geolocation video of the surrounding world (“reality”)

AR FEATURES & STANDARD WEB CONTENT

geolocation video of the surrounding world (“reality”) image tracking (Vuforia)

+ any web content for browser

Page 4: JavaScript & Argon - Hem | Mah Webbmah-webb.github.io/courses/me152a/lectures/pdf/l8_me152a.pdfAR FEATURES & STANDARD WEB CONTENT geolocation video of the surrounding world (“reality”)

AR FEATURES & STANDARD WEB CONTENT

geolocation

Page 5: JavaScript & Argon - Hem | Mah Webbmah-webb.github.io/courses/me152a/lectures/pdf/l8_me152a.pdfAR FEATURES & STANDARD WEB CONTENT geolocation video of the surrounding world (“reality”)

AR FEATURES & STANDARD WEB CONTENT

video of the surrounding world

Page 6: JavaScript & Argon - Hem | Mah Webbmah-webb.github.io/courses/me152a/lectures/pdf/l8_me152a.pdfAR FEATURES & STANDARD WEB CONTENT geolocation video of the surrounding world (“reality”)

AR FEATURES & STANDARD WEB CONTENT

image tracking (Vuforia)

https://developer.vuforia.com/

Page 7: JavaScript & Argon - Hem | Mah Webbmah-webb.github.io/courses/me152a/lectures/pdf/l8_me152a.pdfAR FEATURES & STANDARD WEB CONTENT geolocation video of the surrounding world (“reality”)

STANDARD WEB CONTENT

1. special div with id argon-immersive-context (2D in the 3D AR context)

2. additional divs in the body 3. any webpage (webkit)

Page 8: JavaScript & Argon - Hem | Mah Webbmah-webb.github.io/courses/me152a/lectures/pdf/l8_me152a.pdfAR FEATURES & STANDARD WEB CONTENT geolocation video of the surrounding world (“reality”)

http://threejs.org/

Page 9: JavaScript & Argon - Hem | Mah Webbmah-webb.github.io/courses/me152a/lectures/pdf/l8_me152a.pdfAR FEATURES & STANDARD WEB CONTENT geolocation video of the surrounding world (“reality”)

argon examples in argon3 & links to tutorials

argon3://artnotart.org/jdbolter/Argon3/examples/Periodic/index.html tutorial: http://tutorials.argonjs.io/tutorials/tutorial3

argon3://artnotart.org/jdbolter/Argon3/examples/Directions/index.html tutorial: http://tutorials.argonjs.io/tutorials/tutorial2

argon3://artnotart.org/jdbolter/Argon3/examples/Geo/index.html tutorial: http://tutorials.argonjs.io/tutorials/tutorial5

argon3://artnotart.org/jdbolter/Argon3/examples/Panorama/index.html tutorial: http://tutorials.argonjs.io/tutorials/tutorial4

argon3://artnotart.org/jdbolter/Argon3/examples/Vuforia/index.html http://tutorials.argonjs.io/tutorials/tutorial6

Page 10: JavaScript & Argon - Hem | Mah Webbmah-webb.github.io/courses/me152a/lectures/pdf/l8_me152a.pdfAR FEATURES & STANDARD WEB CONTENT geolocation video of the surrounding world (“reality”)

argon3://artnotart.org/jdbolter/Argon3/examples/Periodic/index.html tutorial: http://tutorials.argonjs.io/tutorials/tutorial3

Page 11: JavaScript & Argon - Hem | Mah Webbmah-webb.github.io/courses/me152a/lectures/pdf/l8_me152a.pdfAR FEATURES & STANDARD WEB CONTENT geolocation video of the surrounding world (“reality”)

argon3://artnotart.org/jdbolter/Argon3/examples/Geo/index.html tutorial: http://tutorials.argonjs.io/tutorials/tutorial5

Page 12: JavaScript & Argon - Hem | Mah Webbmah-webb.github.io/courses/me152a/lectures/pdf/l8_me152a.pdfAR FEATURES & STANDARD WEB CONTENT geolocation video of the surrounding world (“reality”)

argon3://artnotart.org/jdbolter/Argon3/examples/Panorama/index.html tutorial: http://tutorials.argonjs.io/tutorials/tutorial4