FAQ Database Discussion Community

How to convert Greensock's CustomEase functions to be usable in CreateJS's Tween system?

I'm currently working on a project that does not include GSAP (Greensock's JS Tweening library), but since it's super easy to create your own Custom Easing functions with it's visual editor - I was wondering if there is a way to break down the desired ease-function so that it can...

How to add an easing function to increase a variable value during animation

I am looking for some math genius to help me with this one: I have a quite simple keyframe js animation: var i = 0; var o = 0; // opacity var y_frames = ["a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","A","B","C","D","E","F","G","H"]; function draw_y() { requestAnimationFrame( draw_y ); // drawing if ( i < y_frames.length ) {...

D3 Elastic easing transition of circle radius causes negative radius to be set

I have a very weird problem whilst using the ease("elastic", a, p) function in d3js. I am transitioning the radius of circles and I'm getting a flood of errors in the console, which are significantly slowing down my webpage. The errors state that I'm setting a negative radius — after...