Giter Site home page Giter Site logo

pseudo3dtouch's Introduction

PDPseudo3DTouchGestureRecognizer

Disclaimer: PS don't break your screen pls :)

A yolo implementation of a 3D gesture recognizer using UITouch's -majorRadius property for comparing the differences in touch radii.

Definitely not prime for shipping I wrote it just for demo purposes, but it's fun to mess with. Use it to get a feel for how 3D touch will be! :D

Was built for my presentation at NSSpain 2015, so be sure to check out my talk when it's posted! :D

Also, it's not super amazingly accurate, but it gets the job done. Helps sometimes to change the angle of your thumb or finger when pressing harder.

Depth values scale from 1 -> infinity, the scale isn't really unbound.

Example includes a bouncing circle with pseudo "taptic feedback" based on how hard you press the screen.

How do I compile?

Xcode pretty much.

License?

Pretty much the BSD license, just don't repackage it and call it your own please!

Also if you do make some changes, feel free to make a pull request and help make things more awesome!

Contact Info?

Feel free to follow me on twitter: @b3ll!

pseudo3dtouch's People

Contributors

b3ll avatar

Watchers

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