Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #21414
| From | Ken <usenet-so@abdiassoftware.com> |
|---|---|
| Newsgroups | comp.lang.javascript |
| Subject | Re: Draw/animation fail to stop |
| Date | 2013-09-22 13:50 -0500 |
| Organization | Abdias Software |
| Message-ID | <l1ne67$qo8$1@speranza.aioe.org> (permalink) |
| References | <7f279d3b-dab8-4021-86f4-c504200547b3@googlegroups.com> |
On 21.09.2013 08:33, jonas.thornvall@gmail.com wrote: > This function starts a draw/plot sequense using a function call in a form. Forgot to post the link for a so-called poly-fill you can use for requestAnimationFrame (just note that the poly-fill uses the name requestAnimFrame): http://www.paulirish.com/2011/requestanimationframe-for-smart-animating/ setTimeout is a last resort for older browsers. Another thing to be aware of with setInterval is that you can risk stacking your calls eventually blocking the browser. If your animation loop is expensive and uses more than the time budget allow you will add events that never can be consumed. -- Ken Fyrstenberg Abdias Software http://abdiassoftware.com/ (remove usenet- from address)
Back to comp.lang.javascript | Previous | Next — Previous in thread | Find similar | Unroll thread
Draw/animation fail to stop jonas.thornvall@gmail.com - 2013-09-21 06:33 -0700
Re: Draw/animation fail to stop "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-09-21 15:52 +0200
Re: Draw/animation fail to stop jonas.thornvall@gmail.com - 2013-09-21 20:14 -0700
Re: Draw/animation fail to stop Stefan Weiss <krewecherl@gmail.com> - 2013-09-22 06:47 +0200
Re: Draw/animation fail to stop JJ <duh@nah.meh> - 2013-09-22 13:05 +0700
Re: Draw/animation fail to stop "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2013-09-22 09:10 +0200
Re: Draw/animation fail to stop jonas.thornvall@gmail.com - 2013-09-22 01:30 -0700
Re: Draw/animation fail to stop jonas.thornvall@gmail.com - 2013-09-22 01:40 -0700
Re: Draw/animation fail to stop Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-09-22 12:42 +0200
Re: Draw/animation fail to stop Dr J R Stockton <reply1300@merlyn.demon.co.uk.invalid> - 2013-09-23 18:06 +0100
Re: Draw/animation fail to stop Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-09-24 01:00 +0200
Re: Draw/animation fail to stop Dr J R Stockton <reply1300@merlyn.demon.co.uk.invalid> - 2013-09-25 17:18 +0100
Re: Draw/animation fail to stop Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-09-26 00:55 +0200
Re: Draw/animation fail to stop Joao Rodrigues <groups_jr-1@yahoo.com.br> - 2013-09-25 22:33 -0300
Re: Draw/animation fail to stop Andrew Poulos <ap_prog@hotmail.com> - 2013-09-26 15:21 +1000
Re: Draw/animation fail to stop Dr J R Stockton <reply1300@merlyn.demon.co.uk.invalid> - 2013-09-28 19:16 +0100
Re: Draw/animation fail to stop Christoph Michael Becker <cmbecker69@arcor.de> - 2013-09-22 14:14 +0200
Re: Draw/animation fail to stop Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2013-09-22 15:06 +0200
Re: Draw/animation fail to stop Ken <usenet-so@abdiassoftware.com> - 2013-09-22 13:44 -0500
Re: Draw/animation fail to stop Ken <usenet-so@abdiassoftware.com> - 2013-09-22 13:50 -0500
csiph-web