Coder Social home page Coder Social logo

nuess0r / stereoscopic-slideshow Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dpa99c/stereoscopic-slideshow

0.0 0.0 0.0 3.07 MB

Example slideshow to render stereoscopic side-by-side images in 3D using a VR headset

JavaScript 84.37% HTML 14.28% SCSS 1.35%

stereoscopic-slideshow's Introduction

Stereoscopic slideshow

This repo demonstrates how a slideshow can be created to render stereoscopic side-by-side images in 3D using a VR headset. It uses A-frame and specifically aframe-stereo-component as building blocks.

The SPA loads a set of side-by-side images in JPS (JPEG Stereo) format from a web server which are displayed as 2D thumbnails in the page. Clicking one of the images launches the slideshow in immersive VR using the browser's WebXR API and displays the selected image in the slideshow UI.

VR headsets with stereo displays will render each half of the side-by-side image to the relevant eye, so it appears to the viewer in stereoscopic 3D. The slideshow UI has buttons to load the next/previous image in the set and move the UI closer or further away. The controllers for the various VR headsets supported by A-frame are wired up so they can also be used to operate the slideshow controls.

The slideshow will still work on devices without immersive VR support by the images will be rendered in 2D.

Demo

You can view the slideshow demo here: https://dpa99c.github.io/stereoscopic-slideshow/

Screenshots

stereoscopic-slideshow's People

Contributors

dpa99c avatar nuess0r avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.