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
 


TinyML: Machine Learning with TensorFlow Lite

Authors: Pete Warden and Daniel Situnayake
Publisher: O'Reilly
Date: December 2019
Pages: 504
ISBN: 978-1492052043
Print: 1492052043
Kindle: B082TY3SX7
Audience: Developers interested in machine learning
Rating: 5, but see reservations
Reviewer: Harry Fairhead
Can such small machines really do ML?



The Rust Programming Language, 2nd Ed

Author: Steve Klabnik and Carol Nichols
Publisher: No Starch Press
Date: June 2023
Pages: 560
ISBN: 978-1718503106
Print: 1718503105
Kindle: B0B7QTX8LL
Audience: Systems programmers
Rating: 4.8
Reviewer: Mike James

There's a new edition of what has become the standard text on Rust. Has it matured along with [ ... ]


More Reviews