In the introduction, we looked at a complete working example of Raphael that drew a red dot on the page. Since Raphael is a fundamentally visual toolkit, this will take the place of the canonical “Hello World” example in the first chapter of programming books since time immemorial.
In case, like me, you never read the introduction, here it is again.
See this code live on jsFiddle.
Let’s do a deep dive into this example.
<script src="http://cdnjs.cloudflare.com/ajax/libs/raphael/2.1.0/raphael- min.js"></script>