Giter VIP home page Giter VIP logo

reveal.js-wave-plugin's Introduction

Advance through your reveal.js presentation slides by waving

This plugin for reveal.js makes it possible to use your webcam to detect waving - and then triggering a slide change. It's more of a cool effect than a useful/productive plugin - but great to impress your audience.

You can see a live demo of it here: http://functino.github.com/reveal.js-wave-plugin/

Restrictions

  • works only in Chrome (only Chrome supports getUserMedia() which is used to get access to your webcam)
  • it only works if your calling the presentation on a server (i.e not with a file:// url)
  • you must accept Chrome's request to use your webcam
  • at the moment only going forward in your presentation is enabled

HowTo / Installation

Just copy this repository into your reveal.js presentation to /plugin/wave.

Include this two lines in the "dependencies" section in index.html: `{ src: 'plugin/wave/webcam-swiper-0.1.js'}, { src: 'plugin/wave/client.js'}´

Run the server.js file via node to startup a server on localhost:1947 (or use any other server to serve the presentation, for example the speakernote plugin has it's own server wich will do just fine). If you use my server.js be sure to install the needed modules - for example with a simple npm install -d. Open the presentation, click "accept" when Chrome asks you to grant permission to use the webcam and then wave/swipe in front of your webcam to advnace through your slides.

Thanks

The webcam-swiper library is from https://github.com/iambrandonn/WebcamSwiper

reveal.js-wave-plugin's People

Contributors

functino avatar indiependente avatar

Watchers

 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.