FUN: a weird clock in SVG+javascript
I have just coded this javascript+SVG weird clock. It is composed by several clock pointers that together form words indicating the current time. This animation is obviously running faster than usual clocks, but I guess you get the idea.
http://bighead.poli.usp.br/~juca/code/svg/javascript/weirdclock.svg
I have drawn it using Inkscape and then coded it using gedit. I had some issues while doing it.
One issue is that javascript code is escaped with html escape codes. This messes my code everytime I modify the SVG file using Inkscape. Another issue is the path:d attribute, which seems to use m and M path codes randomly .
I hope you like my animation and that it helps improve inkscape in this use case: handling of SVG files containing javascript code.
JucaBlues
PS: the idea of this weird clock comes from here: http://www.christiaanpostma.nl/clock.htm
participants (1)
-
Felipe Sanches