An open API service indexing awesome lists of open source software.

https://github.com/ramsailopal/react-vr

React-VR demo with command line tool to change photosphere images
https://github.com/ramsailopal/react-vr

react-vr virtual-reality vr

Last synced: 3 months ago
JSON representation

React-VR demo with command line tool to change photosphere images

Awesome Lists containing this project

README

        

# React-VR

React-VR demo with command line tool to change equirectangular images

[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/#https://github.com/RamSailopal/React-VR)

Once deployed you can view the VR demo by navigating to:

https://8081-gitpodaddress/vr

# Changing images

Once deployed, you can also change equirectangular images by opening a new terminal in Gitpod and then executing:

./changepic.sh 'https://live.staticflickr.com/4274/34677807021_121009c5f6_o_d.jpg'

Where **https://live.staticflickr.com/4274/34677807021_121009c5f6_o_d.jpg** is the download link of the equirectangular image to change to

A good link for photosphere images is here - https://www.flickr.com/search/?text=equirectangular

Once the changepic command finishes executing, refresh the browser page to see the new image in VR

# References

React-VR/360 - https://github.com/facebookarchive/react-360#readme