Amazon cover image
Image from Amazon.com

Canvas Cookbook : over 80 simple but creative and structured recipes to explore the capabilities of HTML5 Canvas / Bhushan Purushottam Joshi.

By: Material type: TextTextSeries: Quick answers to common problemsPublication details: Birmingham : Packt Publishing, 2016.Description: 1 online resourceContent type:
  • text
Media type:
  • computer
Carrier type:
  • online resource
ISBN:
  • 1783552506
  • 9781785284892
  • 1785284894
  • 9781783552504
Subject(s): Genre/Form: DDC classification:
  • 005.72 23
LOC classification:
  • QA76.76.H94
Online resources:
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; 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.
Summary: Over 80 simple but creative and structured recipes to explore the capabilities of HTML5 CanvasAbout This Book Develop simple to advanced recipes of your own, and ultimately produce a great application Discover a better way to use HTML5 Canvas, JavaScript, and CSS Put your creative instincts to use in your day-to-day interface developmentsWho This Book Is ForThe book is intended for readers with a preliminary knowledge of JavaScript and CSS. Whether you're a beginner or expert in this technology, the book provides recipes to help you build your own application, presentation, or game. What You Will Learn Draw basic shapes such as lines, arcs, curves, and text using the coordinate system Learn about the animation cycle and use it to animate shapes Grasp the knowledge required to create particles and use them Give various effects to images and videos and also use them in animations Discover the use of event listeners to make recipes interactive and to handle events through event handlers Create good presentation graphics with graphs and charts Learn all about 3D development, from building 3D objects to animating them Convert your knowledge into a complete working game Understand the interoperability and deployment of recipes on different browsers and on different devicesIn DetailWith the growing popularity of HTML5 Canvas, this book offers tailored recipes to help you develop portable applications, presentations, and games. The recipes are simple yet creative and build on each other. At every step, the book inspires the reader to develop his/her own recipe. From basic to advanced, every aspect of Canvas API has been covered to guide readers to develop their own application, presentation, or game. Style and approachAll the recipes are sequential and cover the basic and advanced concepts of Canvas. Every recipe is as simple as possible without compromising creativity.
Item type:
Tags from this library: No tags from this library for this title. Log in to add tags.
Star ratings
    Average rating: 0.0 (0 votes)
Holdings
Item type Home library Collection Call number Materials specified Status Date due Barcode
Electronic-Books Electronic-Books OPJGU Sonepat- Campus E-Books EBSCO Available

Online resource; title from PDF file page (EBSCO, viewed January 8, 2019).

Over 80 simple but creative and structured recipes to explore the capabilities of HTML5 CanvasAbout This Book Develop simple to advanced recipes of your own, and ultimately produce a great application Discover a better way to use HTML5 Canvas, JavaScript, and CSS Put your creative instincts to use in your day-to-day interface developmentsWho This Book Is ForThe book is intended for readers with a preliminary knowledge of JavaScript and CSS. Whether you're a beginner or expert in this technology, the book provides recipes to help you build your own application, presentation, or game. What You Will Learn Draw basic shapes such as lines, arcs, curves, and text using the coordinate system Learn about the animation cycle and use it to animate shapes Grasp the knowledge required to create particles and use them Give various effects to images and videos and also use them in animations Discover the use of event listeners to make recipes interactive and to handle events through event handlers Create good presentation graphics with graphs and charts Learn all about 3D development, from building 3D objects to animating them Convert your knowledge into a complete working game Understand the interoperability and deployment of recipes on different browsers and on different devicesIn DetailWith the growing popularity of HTML5 Canvas, this book offers tailored recipes to help you develop portable applications, presentations, and games. The recipes are simple yet creative and build on each other. At every step, the book inspires the reader to develop his/her own recipe. From basic to advanced, every aspect of Canvas API has been covered to guide readers to develop their own application, presentation, or game. Style and approachAll the recipes are sequential and cover the basic and advanced concepts of Canvas. Every recipe is as simple as possible without compromising creativity.

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.

eBooks on EBSCOhost EBSCO eBook Subscription Academic Collection - Worldwide

There are no comments on this title.

to post a comment.

O.P. Jindal Global University, Sonepat-Narela Road, Sonepat, Haryana (India) - 131001

Send your feedback to glus@jgu.edu.in

Hosted, Implemented & Customized by: BestBookBuddies   |   Maintained by: Global Library