Tutorialspoint

April Learning Carnival is here, Use code FEST10 for an extra 10% off

SVG, Canvas, & WebGL

person icon Chong Lip Phang

SVG, Canvas, & WebGL

A Comprehensive Guide to Web Graphics

price-loader

This eBook includes

Formats : PDF (Read Only)

Pages : 179

ISBN : 9798361242931

Language : English

About the Book

Book description

SVG and Canvas (2D or WebGL) represent the different ways to create graphics on a web application programmatically.

Unlike Canvas, SVG is based solely on XML, a markup language like HTML. You do not need to use JavaScript to create an SVG image.

On the other hand, Canvas, 2D or WebGL, is based on JavaScript. Games and maps have been developed with Canvas. 

While a canvas lacks many SVG features like object-level event-driven interactivity, a canvas provides per-pixel control of the graphic.

SVG is faster when rendering large objects, but slower when rendering many objects.  A canvas allows you to display the webcam capture, letting you take and save a photo with it.

Covering every language construct, keyword, and function, this book attempts to provide a complete guide to web graphics based on these technologies.

Have fun!

source codes:   https://drive.google.com/file/d/17IBN0IqqwSFSiBmqDx4g5tjuei78lPWj/view?usp=sharing

SVG, Canvas, & WebGL

eBook Preview

Author Details

Chong Lip Phang

Chong Lip Phang

e


Our students work
with the Best

Related eBooks

View More

Annual Membership

Become a valued member of Tutorials Point and enjoy unlimited access to our vast library of top-rated Video Courses

Subscribe now
Annual Membership

Online Certifications

Master prominent technologies at full length and become a valued certified professional.

Explore Now
Online Certifications

Talk to us

1800-202-0515