Thing-a-Day 2011 #24 - Hershey Fonts in JS, now sized for Unicorn Plotting!

This post used to be on Posterous. I rescued my posts before Posterous shut down and am now sharing them here.

I tweaked my little Hershey Fonts in JavaScript toy a bit. Now, the SVG data that it produces is at the right size and scale to plot on a sticky note on a MakerBot Unicorn.  Save the SVG content, load it in Inkscape, and save it as .gcode using my Inkscape extension for Unicorn.

At long last, after a bunch of little thing-a-days, I can write out a sticky-note:

Screenshot of web interface with text entry area and rendered text in Hershey script font. Text reads: If anything I would say that this cab was rare. But I thought 'Man, forget it.' 'Yo homes, to Bel-Air!'
Save the SVG data and open it in Inkscape:
Inkscape interface with the rendered Hershey script font data described above.

And save it as G-Code for plotting on the Unicorn!

G-Code viewing app rendering the CNC machine code instructions to draw the script text described above.

Matt Griffin was kind enough to plot it for me on one of the Thing-O-Matics at the BotCave:

Sticky note with partially finished script text. The sticky note is on a conveyor belt platform, with a pen held in work by a Unicorn plotting tool.

... sorry for the Bel-Air... :)

You can play with it here: http://schmarty.net/hershey_js_demo/