Book Image

Instant RaphaelJS Starter

By : Krishna Sagar
Book Image

Instant RaphaelJS Starter

By: Krishna Sagar

Overview of this book

Drawing in a browser without images has been around for a long time but it was a complex task with browser support issues. Raphael JS aims to solve all these problems with simple and clear methods to draw cross-browser compatible drawings. Imagine drawing complex dials, graphs, and meters for a dashboard, all without images, and the ability to dynamically manipulate those drawings. Creativity is the only limit with Raphael JS."Instant RaphaelJS Starter" is a practical, hands-on guide that provides you with a number of clear step-by-step exercises, which will help you take advantage of the real power that is behind Raphael JS, and give you a good grounding in using it in your web pages."Instant RaphaelJS Starter" looks at the HTML5 video formats available, and breaks down the mystery and confusion that surrounds which format to use. It will take you through a number of clear, practical recipes that will help you to take advantage of the new HTML5 video standard, quickly and painlessly. You will also learn how to draw your own shapes using any vector graphics editor, or by using one of the pre-defined shapes. We will also take a look at adding functionality such as DOM events, or animations, as well as how to manipulate the shapes dynamically. If you want to take advantage of imageless vector graphics for browsers using Raphael JS, then this is the book for you.You will learn everything you need to know to convert shapes and perform animations, as well as how to draw custom shapes with simple techniques using Raphael JS and use them across multiple browsers.
Table of Contents (7 chapters)

Summary


RaphaelJS is a versatile and easy-to-use vector graphics library, allowing us to do tasks which were unthinkable a few years ago. Though HTML5 Canvas was inspired from vector graphics, it doesn't mean that it's a replacement for SVG, rather they compliment each other. Today's browsers have faster and better JavaScript engines that make rendering vector graphics even better.

From a user perspective, adding a little interactivity will make the site more interesting and engaging, and for this, vector graphics libraries like RaphaelJS are key. They make applications stand apart from the standard boxes and lines. RaphaelJS does add glitter to our applications and makes us completely rethink how we present our data. RaphaelJS is more versatile in the hands of the most creative, and that's what this book is all about—realizing the creative potential of RaphaelJS.