Coder Social home page Coder Social logo

keyshapejs's People

Contributors

pixofield avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

keyshapejs's Issues

Go to a specific frame

Hello

The first thing to say is that I love Keyshape and say that its simplicity is making it very popular in our agency. Great job.

Now. I'm used to working with Lottie. And it has the ability to access a specific frame of an animation. This way you can have different phases of an animation in just one file.

Keyshape JS allows you to do something similar?

webkit detection error

i noticed this code
var isWebkit = navigator.vendor.match(/apple/i);
causes errors in older browsers due to .vendor browser support.
I myself changed it to this...
var isWebkit = /webkit/.test( navigator.userAgent );
which i believe is more compatible with older browsers.

triggers for timeline events

Hello,
I am liking keyshapejs a lot so far.
My only question before i use it is...
Is it possible to have events/trigger during the timeline.
So if the timeline reaches a certain time, there will be a trigger of some code which can then control the timeline.

Example: If the timeline reaches 500, it will run some code to check something and either return back to 0 on the timeline or continue.

Example usage

It'd be really helpful to see how this library can be used, ideally a 'simple' and 'kitchen sink' type example.

Filter animations not working in Safari

I have a blur applied to my SVG and using KeyshapeJS to animate it. Everything works great, and with amazing performance, even in Firefox which is usually a culprit in that regards. Although nothing happens in Safari. Probably because of the -webkit-filter prefix needed for Safari.

macOS Mojave 10.14.6
Safari 14.1.2

How to use with vue3

In visual studio code vue3 / vite app is not working. CDATA is all underlined in editor. I guess xml is not supported in vue. Any solutions? I was interested in seeing how the reactivity would have worked with the svg. That would be real cool.

Optional JS embedding

Exported KeyshapeJS animations are a little difficult to use in my setup and involve some manual work to reorganise.

I'd like the option to export the JSON/JS animate instructions separately from the SVG for a couple of reasons:

  • My build pipeline doesn't support CDATA tags in svg
  • I'd like to load the KeyshapeJS dependancy and instructions manually and have total manual control over the animation.

making keyshapejs code smaller

hello,
I am using it for a very basic animation, mostly just postion, opacity, fillcolor and size changes.
I am needing to make all the files as small as possible. Would you recommend a way to remove unused functions from the main keyshapejs file?

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.