holoplayjs-examples

Interacting with the Looking Glass Holoplay Service in JavaScript

This repository collects together several examples of how to use JavaScript with looking glass devices, which exist on the internet but not on GitHub.

See the source here.

Quickstart

  1. Make sure your Looking Glass light field display is connected over USB and HDMI.
  2. Make sure the Holoplay Service is installed.
  3. Click on one of the examples in https://chigozienri.github.io/holoplayjs-examples/#Examples

Running locally

To run the examples in this repository locally, you will need to run a local server. For example, after cloning the repo with

git clone https://github.com/chigozienri/holoplayjs-examples.git
cd holoplayjs-examples

you can run

python -m SimpleHTTPServer 8000

in the root of the repo, then visit http://localhost:8000/ in your browser.

Examples

Holoplaycore.js (without Three.js)

holoplaycore 0.0.7

holoplaycore 0.0.8

The following 4 examples come from holoplaycore 0.0.8 examples

Holoplay.js (with Three.js)

The examples in lookingglass are from https://docs.lookingglassfactory.com/developer-tools/three.

They reference a copy of holoplay.js that is in this repository, but you can also find it on CDNs as holoplay

Muttyan’s modified Holoplay.js (with Three.js)

The examples in stereo_jpn_org_lkg are from http://stereo.jpn.org/lkg

Other libraries

Misc

Need to convert an ordinary RGB image to RGBD to use in these examples? Click here to access a hosted version of wrote RGB-Depthify by @jankais3r