Skip to content

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

Notifications You must be signed in to change notification settings

dungnguyen234/ArExperiments

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 99.7%
  • HTML 0.3%