Skip to content

Latest commit

 

History

History
82 lines (52 loc) · 3.02 KB

README.md

File metadata and controls

82 lines (52 loc) · 3.02 KB

Augmented Reality Experiments

A set of experiments using augmented reality. WebXR + Threejs are the predominate tools used.

Demos

Github pages

All Demo

Select Demos

Skeleton

Photogrammetry

MagneticField (requires chrome flag)

Recording Values

AR Occlusion

Mesh Capture with Depth api

Caveats

Chrome

These will only work on chromium derived browsers. Even then only chrome is particularly reliable.

Chrome Flags

Many of these experiments require chrome flags enabled specifically: Experimental Web Platform Features and Generic Sensor Extra Classes enabled. These introduce some security issues so try to only visit trusted sites while using these flags (although I believe they aren't commonly exploited yet).

SSL certificates

Most of these html pages must be served over SSL. These files should work on local server; however, local network servers will have issues. Unless you're running the server off of the phone you'll have difficulties without an SSL certificate.

Experiments

Skeleton

Is a minimal boilerplate for building 3d webXR apps

Regina

Uses google's GIS data to build a subsection of regina in AR

Many Bodies

Shows an N-body simulation in ar.

Magnetometer

Shows the magnetometers recordings in augmented reality

Grain Elevator

An photogrammetry experiment. Using photos to create a mesh then placing it back into AR.

ArRuler

Find the absolute distance between two points in free space. Can be used as a ruler through walls. error is somewhere between 1-10% (so not great).

ArRecorder

Saves a txt file on phone of the cameras position + quaternion. This could be used to transform a real camera into a 3d camera. Also shows an animation example for recording.

Depth

This experiments with fragment shaders and the Depth API. It attempts to show off occlusion (although the results aren't that great). It is a good example of how to consume the api with threejs.

Depth Mesh Capture

Grabbing a quick mesh of the location

Depth Contour Maps

Converts the depth information into an image

Camera Access

This works by dropping out of AR temporarily and taking a screen capture from a video and then restarting the AR session. Super hacky.

Hydrogen Atom

This uses a worker for the heavy computation and hows hydrogen atom.

Ammo Physics (bullet engine)

Uses the bullet engine in combination with the depth api

Magnetic Dipole Finder

Uses dipoles to estimate large metal objects

Goal Experiments

TODO

clean code.

magnetism + mass + qm + relativity