Creating with Code

The web is a powerful toolbox

Thing-a-Day 2011 #16 - Live Demo of Hershey Fonts in Javascript

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

I made this demo a while ago to test out my ability to render Hershey text with JavaScript, but it is kind of a fun toy, so today I put it online for you folks to play with.

It’s a simple HTML and JS page powered by jQuery (for awesomeness) and Raphael,js (for SVG drawing). As always Hershey fonts are interesting.

You can find the demo here: http://schmarty.net/hershey_js_demo/

Hershey_js_demo