As stated on Ajaxian Washington Post start using Raphaël. Frankly, this is company named Evri, who is working for Washington Post and creates fancy widgets for them, uses Raphaël for drawing purposes. Anyway, Raphaël is on washingtonpost.com and it is time to celebrate. To see it by yourself you can visit this page.
Washington Post Using Raphaël
Wed, 25 Feb 2009WSG Talk
Mon, 23 Feb 2009On 11 March 2009 I will be presenting Raphaël at Web Standards Group meeting. Come and join me.
Raphaël 0.6—Animation and More
Thu, 08 Jan 2009Now, when I finally updated the documentation page, I feel ok to introduce you to Raphaël 0.6. So, what is new in this version?
- Ability to set rotation, translation and scale via
attrmethod - Ability to set path via
attrmethod. That means now you can change path without redrawing it. The only thing you have to learn how to write path string in SVG documentation for path data syntax - New method animate, which takes three parameters: new attributes object, milliseconds and optional callback function
-
rotatemethod now has optionalisAbsoluteparameter which make it rotate object to specified degree, not by degree.
You could see the test demo and chart demo.
Also I created the Google group for Raphaël, so if you need some support or have feedback, please join the group.
Mac Shortcuts Converter
Tue, 02 Dec 2008When switched to Mac it was a real disaster to understand all these special symbol OS uses for control keys (⌘, ⌥, etc). After a while I used to them and now I feel sorry for people who have to write “Command + Option + P” instead of “⌘⌥P”. To solve this little aesthetic issue I wrote a little application. Use it for good and let force be with you.
iPhone Clock Web Application
Thu, 20 Nov 2008
Since last year WebJam™ I am proud owner of shiny iPod Touch. Yes, still shiny. What I found recently that while I am in the office my iPod just wasting space at my desk. Just for fun I decide to create simple web application that will turn my iPod to digital clock while I am in the office.
Just for fun I decide to emulate old LC clock without any images or vector graphics. To make it look like application I have to put special meta tag inside HTML (<meta name="apple-mobile-web-app-capable" content="yes">). The problem with this method is that page doesn’t react to device rotation, but benefit of having custom digits is you can rotate them easily. So, don’t be surprised to see clocks rotated 90° in your browser. Here is a result.

The question is, how I did all these fancy shapes without images? I was using borders. Take a look at fig. 1. If you apply wide border to some element and paint one side in different colour browser will solve graphical problem by creating “photo frame corner”. So, on fig. 2 I show idea: two narrow DIVs with wide borders will create a shape I need. Now in CSS I specify display rules depending on the value of the digit. I didn’t specify colour for borders so they could inherit colour from body text. Now to change colour of the clock I just need to change colour of the body. The rest is easy.
Hope you could pick up some interesting techniques from this example.
Update: Since iPhone/iPod software update 2.2 release had to update CSS a bit.
Raphaël Feed
Fri, 14 Nov 2008I’ve created twitter account for Raphaël. All upcoming news and releases will be announced there. Feel free to follow @RaphaelJS or subscribe to RSS feed.
Web Directions South ’08 Wrap Up 2
Mon, 03 Nov 2008Just want to point out that Web Directions crew finalised work on podcasts and podcast of my talk is available along with my slides at Web Directions web site, so look and listen if you feel like this.
Pie Chart Madness
Wed, 22 Oct 2008With release of Raphaël 0.5.6b building pie charts become very easy task. Before I need to draw path with a hole inside, but now I can really draw every sector of the pie, because Raphaël finally has arcTo method. It was a bit of challenge to create it because VML has absolutely different interface from SVG. Fortunately Erik Dahlström from Opera point me to right direction. After that it was very easy to connect the points and have a good picture. Take a look at the demo of this lovely pie chart.
San Francisco
Tue, 07 Oct 2008This Saturday (11 of October) I am travelling to San Francisco, California for two weeks. If anyone want to catch up for a coffee or something, feel free to drop me a line, because I probably will be bored after hours. Hope to see you there.
My First Interview Ever
Thu, 02 Oct 2008Interview I gave to Andrew Tetlaw from SitePoint at Web Directions South this year. Check it out: Dmitry Baranovskiy Talks about Raphaël.
Web Directions South ’08 Wrap Up
Tue, 30 Sep 2008
The amazing week of Web Directions is over. This year was significant for me, because I did a smooth move from listeners to speakers. My session was pretty good, without “Oh, shit!” moments and tricky questions. In fact questions were very different, yet very simple to answer. I’ve put together slides from the presentation on slideshare. All the demos are on Vimeo.
I should also mention that I won third prize at Web Jam 8 with my Raphaël presentation. You can watch video of it on Vimeo.
It also was nice to catch up with lots of people from virtual world of Internet. This was the first year when I am actually missed a lot of folks and didn’t chat with them. Sorry, I haven’t done it on purpose. The conference was too short and I can’t stay for after‐party. Looking forward for Web Directions South ’09. See you there!
Yet another demo
Fri, 19 Sep 2008The one chart left for GitHub project and it has been done: languages chart. This one takes all the data from HTML table, so updating the table will change the chart and without JavaScript you still can see the table.
Raphaël Now Supports iPhone & iPod Touch
Thu, 18 Sep 2008
Well, to be honest, I haven’t done a thing. New 2.1 Software Update add SVG support for iPhone & iPod Touch, so apparently all the demos for Raphaël now work on “iTouch” products. That is what happens when instead of supporting products you support technology. Go Web Standards!
Another Play with Charting
Thu, 18 Sep 2008This time I decide to go with punch chart from GitHub. This gives me good opportunity to find some bugs in my library and just have fun. Take a peek: Default look, vampire look and bright look.
GitHub Impact Chart
Wed, 17 Sep 2008Recently I was amazed by idea of GitHub impact chart. It is so visually powerful. There are two problems: you have to click on rectangular areas instead of the shape and it doesn’t work in IE. I decided to rebuild this chart using Raphaël. Here the result: Raphaël driven GitHub Impact Chart. I don’t know what sort of scaling guys use, so I went with logarithmic scale. Play around and send me some feedback.
Raphaël 0.5.3
Wed, 17 Sep 2008
New version of Raphaël has been released yesterday. Among other improvements there is ability to get attributes of objects by writing object.attr("fill"). Also there are many fixes for IE.
Another thing: I moved project to GitHub to socialise it better. Hope it will help you in your daily coding job.
WebJam Ⅷ
Thu, 11 Sep 2008SVG Tests
Thu, 14 Aug 2008I found recently that W3C published very good written tests for SVG. Today I spent my lunch time to run across these tests in different browsers. Here results:
| Browser | Passed |
|---|---|
| Total number of tests | 276 |
| Opera 9.51 | 246 |
| Safari 4 | 218 |
| Firefox 3.0.1 | 160 |
| Internet Explorer | 0 |
Basically Opera is the best so far. Safari doesn’t support filters. Firefox has problems with fonts and doesn’t support animation.
Announcing RaphaelJS.com
Tue, 12 Aug 2008I am pleased to announce that because of my bandwidth limitation I have to drop down Raphaël hosting.
But! There are always friends who can help in hard moment, so I am happy to introduce http://raphaeljs.com
Special thanks goes to:
- Lachlan Hardy: for the whole idea, amazing support and awesome spirit. He organised whole move.
- Andrew Krespanis: for awesome hosting and incredibly fast sysadmin setup.
- Lincoln Stoll: for whipping up the appropriate .htaccess file to redirect everything smoothly.
You can change you bookmarks now.
S×SW
Mon, 11 Aug 2008I have a dream. A crystal dream of attending South by South-West Interactive Conference. Today I become one step closer to my dream: my panel was accepted and took it place in voting system.
Go and check my panel description. It is called “JavaScript Ninja Secrets” and going to be awesome if it make it to the final. So please, vote for me and/or wish me a luck.
Raphaël—JavaScript library
Fri, 08 Aug 2008Today I am pleased to release my JavaScript library to work with vector graphics. From now you can create different shapes, rotate text or images by 30° (or more) with easy API of Raphaël. And, yes, it works in IE6 and 7 too. So, please welcome Raphaël and be kind with him. Today is his first day out. Check out the demos: rotation, reflection and another rotation. Write me any feedback.