RaphaelJS: Graphics and Visualization on the Web
- Length: 122 pages
- Edition: 1
- Language: English
- Publisher: O'Reilly Media
- Publication Date: 2013-12-20
- ISBN-10: 1449365361
- ISBN-13: 9781449365363
- Sales Rank: #3999660 (See Top 100 Books)
Create beautiful, interactive images on the Web with RaphaëlJS, the JavaScript library that lets you draw Scalable Vector Graphics (SVG) right in the browser. With this concise guide, you’ll quickly learn how to paint the screen with shapes and colors that you can turn into lively, animated graphics and visualizations.
Author Chris Wilson (Time.com) shows you how to create Raphaël objects and manipulate them with animation, transformations, and other techniques, using just a few lines of code. Packed with working examples, sample code, and cool hands-on projects, RaphaëlJS is ideal for new and experienced JavaScript programmers alike.
- Create images that work on browsers new and old, as well as mobile devices
- Start with the basics—shapes, colors, transformations, sets, and text
- Learn how to build custom curves and shapes with paths
- Code animations that move through space, follow paths, or change direction
- Make your artwork come alive through user interaction
- Bind a dataset to a collection of visual objects—the basis of data visualization
- Learn techniques to make your detailed visuals stand out on screens of any size
Table of Contents
Chapter 1. Introduction: Why Raphael is Great
Chapter 2. Shapes
Chapter 3. Interaction
Chapter 4. Paths: How to Make Custom Shapes and Curves
Chapter 5. Animations, Part One
Chapter 6. Maps, Illustrations, and Other Artifacts
Chapter 7. Animations, Part Two
Chapter 8. Mobile, Global Variables, and Other Things That Hurt Less Than You Think