Skip to content

Tag: easing

Smooth scrolling with easing isn’t working

I have a JQuery function which should allow smooth scrolling with JQuery easing however it does not work and I can’t seem to find the error. The code for the function is I made a JSFiddle with the function in to give an example. (I included the code for the JQuery easing) Here is a similar function in J…

Simple easing function in javascript

I’m having trouble figuring out this simple math problem. I have spent over two hours reading through various related answers on SO and Google, but it seems my high school math knowledge is gone. On the page I have an element, that, once it passes a threshold, gets scaled down, the closer it gets to the…