Coder Social home page Coder Social logo

stopsatgreen / handshake-html5-vibrate-haptic-library Goto Github PK

View Code? Open in Web Editor NEW

This project forked from arcturus/handshake-html5-vibrate-haptic-library

0.0 0.0 0.0 531 KB

HTML5 Haptic Effects Library

License: MIT License

CSS 45.97% JavaScript 54.03%

handshake-html5-vibrate-haptic-library's Introduction

Handshake

Handshake is a Haptic Effects Library which uses HTML5's Vibrate API.

Handshake HTML5 Habic Effect Library Demo on Android and Firefox OS

Play with the demo at http://o2labs.github.io/handshake-html5-vibrate-haptic-library/

Currently, it works on

  • Firefox for Android
  • Chrome (beta) for Android
  • Firefox Mobile
  • BlackBerry 10

Other browsers will come in time :-)

We encourage you to submit interesting and useful vibration patterns as pull requests.

The vibrate API works by defining how long the phone or tablet's vibration motor is on or off.

navigator.vibrate([200, 100, 500]); means vibrate for 200ms, pause for 100ms, vibrate for 500ms.

Read our blog post about Handshake https://thelab.o2.com/2014/01/introducing-handshake-a-haptic-effects-library/

handshake-html5-vibrate-haptic-library's People

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.