Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7796025
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T23:14:37+00:00 2026-06-01T23:14:37+00:00

On this great web page I found a list of easing algorithms that can

  • 0

On this great web page I found a list of easing algorithms that can add nice visual appeal to my webpages.

Despite, I found there brief mention of the function arguments (see below), the algorithm does not behave as I would wish. Can I kindly ask for explanation on what values/ranges should be entered into the arguments of the function below mentioned?

Argument list:

  • t: current time – should here be values 0…1, or real number of the current frame?
  • b: start value – I assume, a start X or Y coordinate of the object being moved
  • c: change in value – can here be number 1 all the time for all the frames?
  • d: duration – the number of frames altogether?

Math.easeOutCubic = function (t, b, c, d) { t /= d; t--; return c*(t*t*t + 1) + b; };

Should the values be incrementally added to the last value obtained from the function, or should they be added to the initial 0 position?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T23:14:39+00:00Added an answer on June 1, 2026 at 11:14 pm

    You’re right, d is for duration and t is current time. Therefore, t should be from 0 to d.

    c is a total change, should be equal to end value – start value.

    • For t = 0 we have c*(-1 + 1) + b or b
    • For t = d we have c*(0 + 1) + b or b + c

    Function would be the same for any fps, it’s up to you how frequently update position and call the function.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have just found this great tutorial as it is something that I need.
I found this great Tablesorter plugin for jQuery but I can't make it work
I found a great page on making efficient asynchronous calls to web services with
One day I found a page on the web that covers interpreting input from
I have come across this great function/command . Colour to RGB, you can do
I'm trying to create a page that displays a list of employees. All the
Great page this one, coming from the perl world and after several years of
im trying to create a web page which connects to interbase database, can some
Let's say I'm building a web application whose user pages can be found at
I need to have a number that's displayed on a web page that will

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.