Code Monkey home page Code Monkey logo

p5mobilewebexamples's Introduction

p5 Mobile Examples

This is a collection of p5 sketches designed for mobile browsers. For the p5 Mobile wiki, go here.

The sketches run on local server using [connect] (https://github.com/senchalabs/connect).

To try the sketches on your phone:
Install [Node.js] (https://nodejs.org/) if you haven't already

  1. Change the directory in server.js to the sketch you want to use
  2. Run local server on your desktop: node server.js
  3. Connect your phone to the same WiFi network as your desktop
  4. Find your desktop's IP address, and go to your IP address:8080 from your mobile browser

Alternatively, you can host the sketches with Google Drive, instead of having to setup local host. Follow the steps for setting up Google Drive host here.

View the following examples in your mobile browser.

p5 Touch Events

p5 Acceleration Events

p5 + Hammer.js Gesture Events

hammer.js

p5 + jQuery Mobile Page

jQuery Mobile

p5mobilewebexamples's People

Contributors

ohjia 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.