Giter VIP home page Giter VIP logo

theta-viewer.js's Introduction

ThetaViewer.js

Animate multiple-Photos taken by Ricoh THETA

Demo

Download

Dependencies

  • WebGL supported browser (Chrome or Firefox)
    • WebGL does not work on Safari now
  • Three.js
  • async.js

Usage

load javascripts

<script src="./lib/async.js"></script>
<script src="./lib/three.js"></script>
<script src="./lib/OrbitControls.js"></script>
<script src="./lib/theta-viewer.js"></script>
<body>
  <div id="viewer" style="width: 100%; height: 100%;"></div>
</body>
var viewer = new ThetaViewer( document.getElementById("viewer") );
viewer.images = ["01.jpg", "02.jpg", "03.jpg"];
viewer.interval = 200; // msec
viewer.autoRotate = true;
viewer.load();

Build JS

src/theta-viewer.coffee -> lib/theta-viewer.js

% npm install
% grunt

theta-viewer.js's People

Contributors

shokai avatar

Stargazers

 avatar maxin avatar Clayton Dorrity avatar Scanner avatar  avatar lqd avatar James Musgrave avatar ZnHoCn avatar Sunday avatar Seungwoo hong avatar Alex Boyd avatar Josh Buchea avatar  avatar Alan Zhang avatar Jon Senterfitt avatar Clark Liu avatar Yuji Sugiura avatar  avatar OKA Naoya avatar  avatar Takahiro Kamada avatar Akira Ochiai avatar hiromitsu matsuoka avatar  avatar Joel Taylor avatar Jay Holtslander avatar Allister Capati avatar Hungmi avatar Joohun, Maeng avatar  avatar Shunichi Hasegawa avatar Mikio Fujita avatar appachan avatar  avatar OA Wu avatar Hiroki Tani avatar icar avatar Robert C Edwards avatar  avatar shiro avatar Stuart Hannig avatar  avatar Kanta A avatar Allen Huffman avatar lankeen.liu avatar Kenny Chan avatar  avatar Yuji Yamaguchi avatar Michael Hulse avatar Yoshiyuki MIYAGI avatar

Watchers

James Cloos avatar Masahiro Kisono avatar Mark Renn Caluag avatar Robert Levy avatar Allen Huffman avatar Stuart Hannig avatar  avatar  avatar

theta-viewer.js's Issues

Image loading times

Hello, I'm using the viewer in a "gallery" mode with prev and next buttons that change the .images array and reload the viewer. But as big images take a while to load, it looks it's not working.
Is there any way to check if the image is still loading to show a "loading" message?
Thanks.

WebGL support browser

As You Mentioned ReadMe.md , WebGL supported browser only for (Chrome or Firefox) , But your Last commit 2 years ago, so, What i want is Now ** Support WebGL to all the browser**

I tested your code, Opera, IE. Both are loaded but it take time load and show very show. I need to know
Now your have added all the browser WebGL support?

if you have any latest code for Support WebGL to all the browser please update it. or Suggest me How to add WebGL support to all browser, Suggest me also alternative based on this?

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.