JavaScript Bitmap Graphics with Canvas (I/O Press)
Friday, 13 September 2019

This book is all about programming Canvas. In addition to the basics of using Canvas, i-programmer author Ian Elliot goes into the skills that you need to make good use of these facilities. For example, a graphics application often needs to download or upload files, but exactly how to do this in a modern way is difficult to find out. If you do upload a file then you might want to work with it at the pixel level and this requires working with raw binary data. How do you do this in JavaScript, which tries hard to keep data types hidden from the programmer?

<ASIN:1871962625>

The book also covers how to keep graphic processes from bringing your application to a halt by keeping graphics on a separate thread or using the GPU to get the job done.  Although most of the book is concerned with the standard 2d graphics context, the final chapters explain the use of WebGL with Canvas as a general purpose rendering engine, including how to use it for 3D graphics and for fast 2D graphics.

Author: Ian Elliot
Publisher: I/O Press
Date: September 2019
Pages: 316
ISBN: 9781871962628
Print: 1871962625
Kindle: B07XJQDS4Z
Audience: JavaScript developers
Level: Intermediate
Category: JavaScript

javacanv

What you will learn: 

  • The canvas element and the fundamental ideas of a path and its stroke and fill properties

  • Transformations – organizing and using unit shapes as the building blocks for complex graphics

  • Working with text including typography and SVG Text

  • Clipping, compositing and effects

  • The Image object as a source of bitmaps

  • Image loading and saving using async and await

  • Sprite-based animation using web workers and Offscreencanvas

  • Files blobs and the Fetch API

  • Image processing, filters and convolution

  • Using Canvas with WebGL for 3D graphics display

  • Using WebGL to implements fast 2D graphics


Also by Ian Elliot 

Just JavaScript: An Idiomatic Approach

JavaScript Async: Events, Callbacks, Promises and Async Await

Just jQuery: The Core UI 

Just jQuery: Events, Async & AJAX

For recommendations of JavaScript books see JavaScript Beginners Book Choice and Advanced JavaScript Book Choices in our Programmer's Bookshelf section.

 

For more Book Watch just click.

Book Watch is I Programmer's listing of new books and is compiled using publishers' publicity material. It is not to be read as a review where we provide an independent assessment. Some, but by no means all, of the books in Book Watch are eventually reviewed.

To have new titles included in Book Watch contact  BookWatch@i-programmer.info

Follow @bookwatchiprog on Twitter or subscribe to I Programmer's Books RSS feed for each day's new addition to Book Watch and for new reviews.

 

 

Banner
 


Software Architecture In Practice

Author: Len Bass, Dr. Paul Clements and Rick Kazman
Publisher: Addison-Wesley Professional
Pages: 464
ISBN: 978-0136886099
Print: 0136886094
Kindle: B094CPJ96B
Audience: Software architects
Rating: 4.5
Reviewer: Kay Ewbank

This is the fourth edition of a book widely regarded as a classic since its firs [ ... ]



Beginning Rust Programming

Author: Ric Messier
Publisher: Wiley
Date: March 2021
Pages: 416
ISBN: 978-1119712978
Print: 1119712971
Kindle: B08WZ2D7WC
Audience: Developers wanting to learn Rust
Rating: 3
Reviewer: Mike James
Everyone seems to want to know what makes Rust special. Does this book give the answers?


More Reviews