Canvas Cookbook. (2016)
- Record Type:
- Book
- Title:
- Canvas Cookbook. (2016)
- Main Title:
- Canvas Cookbook.
- Other Names:
- Joshi, Bhushan Purushottam
- Contents:
- Cover ; Copyright; Credits; About the Author; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Paths and Text; Introduction; Drawing lines; Drawing horizontal, vertical, and assorted lines; Drawing joins; Drawing arc1; Drawing arc2; Drawing a quadratic curve; Drawing a rainbow; Drawing a Bezier curve; Drawing a flag; Drawing text; Drawing 3D text with shadows; Adding shadows to objects; Drawing a house; Chapter 2: Shapes and Composites; Introduction; Drawing rectangles; Drawing triangles; Drawing circles; Drawing gradients; Working with custom shapes and styles Demonstrating translation, rotation, and scalingDrawing an ellipse; Saving and restoring canvas state; Demonstrating composites; Drawing a mouse; Chapter 3: Animation; Introduction; Creating an animation class; Demonstrating acceleration; Demonstrating gravity; Animating a line; Animating text; Animating a clock; Animating a solar system; Animating particles; Animating a particle fountain; Animating a rain effect; Animating a snow effect; Chapter 4: Images and Videos; Introduction; Drawing and cropping an image; Rendering effects to images; Drawing a mirror image; Clipping a path Animated clippingConverting canvas to image and back to canvas; Working with videos; Rendering effects to videos; Creating a pixelated image focus; Chapter 5: Interactivity through Events; Introduction; Working with mouse coordinates; Making a face smile; Detecting a point in a path; Simulating car movements;Cover ; Copyright; Credits; About the Author; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Paths and Text; Introduction; Drawing lines; Drawing horizontal, vertical, and assorted lines; Drawing joins; Drawing arc1; Drawing arc2; Drawing a quadratic curve; Drawing a rainbow; Drawing a Bezier curve; Drawing a flag; Drawing text; Drawing 3D text with shadows; Adding shadows to objects; Drawing a house; Chapter 2: Shapes and Composites; Introduction; Drawing rectangles; Drawing triangles; Drawing circles; Drawing gradients; Working with custom shapes and styles Demonstrating translation, rotation, and scalingDrawing an ellipse; Saving and restoring canvas state; Demonstrating composites; Drawing a mouse; Chapter 3: Animation; Introduction; Creating an animation class; Demonstrating acceleration; Demonstrating gravity; Animating a line; Animating text; Animating a clock; Animating a solar system; Animating particles; Animating a particle fountain; Animating a rain effect; Animating a snow effect; Chapter 4: Images and Videos; Introduction; Drawing and cropping an image; Rendering effects to images; Drawing a mirror image; Clipping a path Animated clippingConverting canvas to image and back to canvas; Working with videos; Rendering effects to videos; Creating a pixelated image focus; Chapter 5: Interactivity through Events; Introduction; Working with mouse coordinates; Making a face smile; Detecting a point in a path; Simulating car movements; Dragging and dropping; Combining events and animation; Demonstrating a touch event; Chapter 6: Creating Graphs and Charts; Introduction; Drawing the axes; Drawing a simple equation; Drawing a sinusoidal wave; Drawing a line graph; Drawing a bar graph; Drawing a pie chart Chapter 7: 3D ModelingIntroduction; Rendering 3D objects; Drawing 3D cubes; Drawing a 3D cylinder and a cone; Drawing a 3D sphere and a torus; Drawing 3D text decorated by particles; Drawing a panorama; Drawing a snowman; Chapter 8: Game Development; Introduction; Understanding the gaming states; Drawing on canvas; Playing some music; Using sprites from the sprite sheet; Demonstrating animation; Demonstrating collision; Demonstrating physics; Game 1 -- Fruit Basket; Game 2 -- Catapult; Chapter 9: Interoperability and Deployment; Introduction; Understanding interoperability Styling text and background using CSSDeploying a game on Android mobile; Index … (more)
- Publisher Details:
- Place of publication not identified : Packt Publishing
- Publication Date:
- 2016
- Extent:
- 1 online resource
- Subjects:
- 005.72
COMPUTERS -- Programming Languages -- JavaScript
HTML
Video games -- Design
COMPUTERS -- Internet -- Application Development
Electronic books
Electronic books - Languages:
- English
- ISBNs:
- 1783552506
9781783552504
9781785284892
1785284894 - Notes:
- Note: Print version record.
- Access Rights:
- Legal Deposit; Only available on premises controlled by the deposit library and to one user at any one time; The Legal Deposit Libraries (Non-Print Works) Regulations (UK).
- Access Usage:
- Restricted: Printing from this resource is governed by The Legal Deposit Libraries (Non-Print Works) Regulations (UK) and UK copyright law currently in force.
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD.DS.87600
- Ingest File:
- 01_104.xml