Closed Bug 886826 Opened 11 years ago Closed 9 years ago

Add chapter to the canvas tutorial about "Advanced animations"

Categories

(Developer Documentation Graveyard :: API: Miscellaneous, defect, P2)

All
Other
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sheppy, Assigned: fs)

References

Details

(Whiteboard: [DocArea=Canvas])

:: Developer Documentation Request

      Request Type: New Documentation
     Gecko Version: unspecified
 Technical Contact: 

:: Details

We have a basic animations article (https://developer.mozilla.org/en-US/docs/Web/Guide/HTML/Canvas_tutorial/Basic_animations), but we need to follow it up with an article that covers more advanced techniques, so that we don't have to start the Basic animations article with text that basically says canvas isn't good for games and other high-performance animations.

This article should cover things like requestAnimationFrame, optimization techniques, and other APIs that make it possible to make canvas animation fast.
Blocks: 1054983
Assignee: eshepherd → fscholz
Component: General → API: Miscellaneous
Whiteboard: c=General u=webdev p=0 → [DocArea=Canvas]
The basic animations article uses requestAnimationFrame now (as recommend for any animation)
https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Basic_animations

An advanced animations article has been added to explain some physics like velocity, acceleration, boundary collision checks. 
https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API/Tutorial/Advanced_animations

requestAnimationFrame and web games are also covered in this article in the game development zone:
https://developer.mozilla.org/en-US/docs/Games/Techniques/Efficient_animation_for_web_games

I'm calling this done.
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.