GithubHelp home page GithubHelp logo

geoholix / esri-gamepad Goto Github PK

View Code? Open in Web Editor NEW

This project forked from richiecarmichael/esri-gamepad

0.0 2.0 0.0 18.7 MB

Easy 3d navigation in 3d web apps with Xbox Controller

Home Page: https://richiecarmichael.github.io/gamepad/index.html

License: Apache License 2.0

HTML 11.19% CSS 70.75% JavaScript 18.06%

esri-gamepad's Introduction

Gamepad Sample

This is an experimental project to test the effectiveness of using a Microsoft Xbox controller to navigate in a 3d web application built using Esri's ArcGIS API for JavaScript.

Click here for the live application.

To date the app has only been tested on Windows desktops with Xbox game controllers such as this, this, this and this.

The application was built using the following technologies:

By default, this web scene of San Francisco is used. To use an alternative scene, use a webscene query to specify the id of the alternative scene. For example: https://richiecarmichael.github.io/gamepad/index.html?webscene=5c2293d8f06448f9a05fa508b4f28b9e

Known Issues

  • When the app starts, the camera may spontaneously creep without any controller interaction. Occasionally it may be an erratic spin. To correct this, after a few seconds press the start button. This will reset the controller.
  • Occasionally when the app starts, scene layers (e.g. buildings) may no fully load. To correct this refresh the browser and wait 5-10 seconds before using the controller.

The Caveats

  • The app is experimental. The app is based on draft implementations of the gamepad API in modern browsers.
  • The app has not been tested with a Sony PlayStation controller.

Demonstration

esri-gamepad's People

Contributors

richiecarmichael avatar

Watchers

James Cloos avatar Khairul Amri 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.