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 6615371
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T20:27:13+00:00 2026-05-25T20:27:13+00:00

I have found some articles on using request animation frames for animating html5 canvas

  • 0

I have found some articles on using request animation frames for animating html5 canvas elements. http://paulirish.com/2011/requestanimationframe-for-smart-animating/

If I were to have multiple elements, should I have a timing system for each of them individually (a separate script) or should I have them all within a single loop?

This is for a magazine concept, wherein you may have each ‘page’ with a different animation (one a series of lines, another a wave, perhaps another that disintegrates an image before your eyes as you read the text)

any help is always appreciated.

  • 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-05-25T20:27:14+00:00Added an answer on May 25, 2026 at 8:27 pm

    I assume that you will develop each animations separately, and further these animations are not related with each other. In such case you not at all need for synchronization… If you go for sync them up in one loop, you will have following problems…

    • If animation in one canvas is slow, animation in other canvas will have to unnecessarily wait…
    • requestAnimationFrame help you create intelligent loop, ie if your canvas in hidden or your tab is not active, callback will not occur for canvas. In case of syncing, you will not be able to optimize fully.
      • It will be more complex to manage all the animation in one loop rather then individual loop.
    • While debugging, you may come across problems caused by other animations in the page…

    So if your animations are not related, I highly recommend not to sync the animations with one loop. Hope this answers your questions.

    Following link will help you learn more about Html5 Canvas…

    • http://www.technobits.net/articles/13730/improving-html5-canvas-performance/
    • http://www.technobits.net/search/page-1/?q=%22html5%20canvas%22
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have been looking around on the web and found some articles about the
I have found some code on measuring execution time here http://www.dreamincode.net/forums/index.php?showtopic=24685 However, it does
i have found some ways but they are actually reading frames and applying transition
As I have referred some articles and sites, I found that we can also
I've found some articles about using the RandomView view and the GetNewID function to
I have found many questions and articles about this but i still have some
I have found some in the Cappuccino website (vim, textmate and SubEthaEdit), but not
I have found some libraries or web services in PHP that does the job.
I have found some info on the subject ( like this link) , but
I have found some code snippet in the internet. But it is missing some

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.