Giter Site home page Giter Site logo

animated-gesture's Introduction

Animated gesture

This Framer X component renders the animated gesture on the screen. It supports tap , drag and swipe gestures so far. Simple as it sounds ๐Ÿ˜œ

If you like the component and want to contribute or leave feedback hit me via FACEBOOK, SPECTRUM or GITHUB

How is it useful?

In case when you record the video of your mobile app prototype and want to hide the default cursor. Or you want your dribbble shot to look modern and professional. Come on!

How to use

  1. Drag the component to the canvas.
  2. Connect the children frames to the component. You can connect multiple frames.
  3. Adjust parameters like size, color, opacity and others.
  4. Profit! ๐Ÿ˜

Props

Property Description
Size Size of the pointer in pixels. 32 by default
Color Color of the gesture. white by default
Opacity Opacity of the gesture. 0.4 by default
Min velocity Minimum drag velocity when direction lock occurs. 350 by default
Max velocity Maximum drag velocity at which the pointer will have the maximum length. 700 by default
Max scale Maximum scale of the pointer when max drag velocity reached. 2 by default
Content The connected frames on top of which you want the gesture to be rendered

Known issues

If you connect frames linked with a Link tool, after transition occures it's no longer possible to use gesture. Solution: wrap each frame in separate gesture component and then link the components together. I'm working on a solution.

animated-gesture's People

Contributors

akosarch avatar

Stargazers

Kenneth Spry 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.