Most ebook files are in PDF format, so you can easily read them using various software such as Foxit Reader or directly on the Google Chrome browser.
Some ebook files are released by publishers in other formats such as .awz, .mobi, .epub, .fb2, etc. You may need to install specific software to read these formats on mobile/PC, such as Calibre.
Please read the tutorial at this link: https://ebookbell.com/faq
We offer FREE conversion to the popular formats you request; however, this may take some time. Therefore, right after payment, please email us, and we will try to provide the service as quickly as possible.
For some exceptional file formats or broken links (if any), please refrain from opening any disputes. Instead, email us first, and we will try to assist within a maximum of 6 hours.
EbookBell Team
0.0
0 reviews
ISBN 10: 1849691363
ISBN 13: 978-1849691369
Author: Eric Rowell
Although the HTML5 Canvas is quickly becoming the standard for online graphics and interactivity, many developers fail to exercise all of the features that this powerful technology has to offer. 'HTML5 Canvas Cookbook' begins by covering the basics of the HTML5 Canvas API and then progresses by providing advanced techniques for handling features not directly supported by the API such as animation and canvas interactivity.
1. Getting Started withPaths and Text
Introduction
Drawing a line
How to do it...
How it works...
There's more...
See also...
Drawing an arc
How to do it...
How it works...
There's more...
See also...
Drawing a Quadratic curve
How to do it...
How it works...
See also...
Drawing a Bezier curve
How to do it...
How it works...
See also...
Drawing a zigzag
How to do it...
How it works...
Line join styles
Drawing a spiral
How to do it...
How it works...
Working with text
How to do it...
How it works...
There's more...
See also...
Drawing 3D text with shadows
How to do it...
How it works...
Unlocking the power of fractals: Drawing a haunted tree
How to do it...
How it works...
There's more...
2. Shape Drawing and Composites
Introduction
Drawing a rectangle
How to do it...
How it works...
There's more...
The fillRect() method
The strokeRect() method
See also...
Drawing a circle
How to do it...
How it works...
See also...
Working with custom shapes and fill styles
How to do it...
How it works...
See also...
Fun with Bezier curves: drawing a cloud
How to do it...
How it works...
Drawing transparent shapes
How to do it...
How it works...
Working with the context state stack to save and restore styles
Getting ready...
How to do it...
How it works...
There's more...
See also...
Working with composite operations
Getting ready...
How to do it...
How it works...
Creating patterns with loops: drawing a gear
How to do it...
How it works...
See also...
Randomizing shape properties: drawing a field of flowers
How to do it...
How it works...
Creating custom shape functions: playing card suits
How to do it...
How it works...
Putting it all together: drawing a jet
How to do it...
How it works...
3. Working with Images and Videos
Introduction
Drawing an image
How to do it...
How it works...
There's more...
Cropping an image
How to do it...
How it works...
Copying and pasting sections of the canvas
How to do it...
How it works...
Working with video
Getting ready...
How to do it...
How it works...
Getting image data
Getting ready...
How to do it...
How it works...
Introduction to pixel manipulation: inverting image colors
How to do it...
How it works...
Inverting video colors
How to do it...
How it works...
Converting image colors to grayscale
How to do it...
How it works...
Converting a canvas drawing into a data URL
How to do it...
How it works...
Saving a canvas drawing as an image
How to do it...
How it works...
Loading the canvas with a data URL
How to do it...
How it works...
Creating a pixelated image focus
How to do it...
How it works...
4. Mastering Transformations
Introduction
Translating the canvas context
How to do it...
How it works...
Rotating the canvas context
How to do it...
How it works...
See also...
Scaling the canvas context
How to do it...
How it works...
See also...
Creating a mirror transform
How to do it...
How it works...
Creating a custom transform
How to do it...
How it works...
There's more...
Shearing the canvas context
How to do it...
How it works...
Handling multiple transforms with the state stack
How to do it...
How it works...
Transforming a circle into an oval
How to do it...
How it works...
See also...
Rotating an image
How to do it...
How it works...
There's more...
See also...
Drawing a simple logo and randomizing its position, rotation, and scale
How to do it...
How it works...
5. Bringing the Canvas to Life with Animation
Introduction
Creating an Animation class
Getting ready...
How to do it...
How it works...
Creating a linear motion
How to do it...
How it works...
See also...
Creating acceleration
How to do it...
How it works...
See also...
Creating oscillation
How to do it...
How it works...
See also...
Oscillating a bubble
How to do it...
How it works...
See also...
Swinging a pendulum
How to do it...
How it works...
See also...
Animating mechanical gears
How to do it...
How it works...
See also...
Animating a clock
How to do it...
How it works...
See also...
Simulating particle physics
How to do it...
How it works...
There's more...
See also...
Creating microscopic life forms
How to do it...
How it works...
See also...
Stressing the canvas and displaying the FPS
How to do it...
How it works...
There's more...
See also...
6. Interacting with the Canvas: Attaching Event Listeners to Shapes and Regions
Introduction
Creating an Events class
How to do it...
How it works...
Working with canvas mouse coordinates
How to do it...
How it works...
Attaching mouse event listeners to regions
How to do it...
How it works...
See also...
Attaching touch event listeners to regions on a mobile device
How to do it...
How it works...
See also...
Attaching event listeners to images
How to do it...
How it works...
See also...
Dragging-and-dropping shapes
How to do it...
How it works...
See also...
Dragging-and-dropping images
How to do it...
How it works...
See also...
Creating an image magnifier
How to do it...
How it works...
See also...
Creating a drawing application
How to do it...
How it works...
There's more...
See also...
7. Creating Graphs and Charts
Introduction
Creating a pie chart
How to do it...
See also...
How it works...
Creating a bar chart
How to do it...
How it works...
See also...
Graphing equations
How to do it...
How it works...
See also...
Plotting data points with a line chart
How to do it...
How it works...
See also...
8. Saving the World with Game Development
Introduction
Creating sprite sheets for the heroes and enemies
Getting ready...
How to do it
Creating level images and boundary maps
How to do it...
How it works...
There's more...
Boundary map alternative
Level image alternatives
Creating an Actor class for the hero and enemies
How to do it...
How it works...
See also...
Creating a Level class
How to do it...
How it works...
See also...
Creating a Health Bar class
How to do it...
How it works...
Creating a Controller class
How to do it...
How it works...
Creating a Model class
How to do it...
How it works...
There's more...
See also...
Creating a View class
How to do it...
How it works...
See also...
Setting up the HTML document and starting the game
How to do it...
How it works...
There's more...
See also...
9. Introducing WebGL
Introduction
Creating a WebGL wrapper to simplify the WebGL API
How to do it...
How it works...
There's more...
See also...
Creating a triangular plane
How to do it...
How it works...
Rotating a triangular plane in 3D space
How to do it...
How it works...
See also...
Creating a rotating cube
How to do it...
How it works...
See also...
Adding textures and lighting
How to do it...
How it works...
See also...
Creating a 3D world that you can explore
How to do it...
How it works...
There's more...
See also...
A. Detecting Canvas Support
Canvas fallback content
Detecting available WebGL contexts
B. Canvas Security
C. Additional Topics
Canvas vs. CSS3 transitions and animations
Canvas performance on mobile devices
Index
html5 canvas cookbook
html5 canvas context
html5 canvas reference
html5 canvas cheat sheet
html5 cookbook
Tags: Eric Rowell, HTML5 Canvas Cookbook