GithubHelp home page GithubHelp logo

ajaichemmanam / react_3d_keypad Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 896 KB

A sample login process that uses Force Touch to act as an additional security measure.

Home Page: https://ajaichemmanam.github.io/react_3D_Keypad/

HTML 5.74% CSS 28.22% JavaScript 66.04%
forcetouch login-page reactjs force-touch security

react_3d_keypad's Introduction

react_3D_Keypad

This repo contains react component that provides additional features to a login page.

It uses Force Touch (3D Touch) on supported devices to read pressure values along with pins as passwords.

Fall back method Polylines is used on unsupported devices.

The login will be successful only if both pin and pressure matches to that of registered.

Demo

Deployed in Github Pages: https://ajaichemmanam.github.io/react_3D_Keypad/

Usage

  • Enter any number (Eg. 1486)
  • Keep Pressing on any digit (Eg.4) for a higher force
  • Click Register
  • Try to enter with same number but without force or long press on the digit (Fails)
  • Try to enter using the same force applied on the digit (Success)

Supported Devices

Future devices and browsers that support pressure will be added when they are released.

  • Microsoft Surface, Wacom Tablets (Device that supports pointer events): Chrome, Opera, IE, Edge
  • iPhone 6s, iPhone 6s Plus, iPhone 7, iPhone 7 Plus : Safari, Chrome, anything using WKWebView
  • MacBook & MacBook Pro 2015 and later: Safari
  • Magic Trackpad 2 : Safari
  • iPad Pro with Apple Pencil : Safari, Chrome, anything using WKWebView

Credits

@github/rubcuadra

react_3d_keypad's People

Contributors

ajaichemmanam avatar

Stargazers

 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.