Thing-a-Day 2011 #22 - Hershey Fonts in JS - on a Sticky Note!

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

Ok, this is more a kind of clever image arrangement than anything else, but it looks nice, I think.

Writing_on_a_sticky_note

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

Until I change it again!

Thing-a-Day 2011 #21 - Auto-scaling 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.

Ok, this is kind of fun, even though the code is very naive.

I've added a height-check at the end of my line-breaking code. If there are too many lines of text to fit within the allowed space, the algorithm will rescale everything and try again:

Auto_scale_hershey_js

This isn’t great for real-time text flow, but it is fine for fitting text, I think.

Thing-a-Day 2011 #20 - Hershey fonts in JavaScript on the canvas

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

I haven't been making as much progress on my "draw things in the browser so a robot can draw them on the Unicorn" project, so I decided to take a stab at cleaning things up a little to make that easier.

Today I rewrote my little demo to use canvas 2D instead of Raphael.js.  It looks the same, for the most part:

Hershey_js_canvas

But being in canvas land instead of Raphael land means I can do real stacked transforms easily, without having to keep track of them myself. For instance: ROTATION!

Canvas_rotated

Thing-a-Day #19 - Cube Gears!!

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

Today I finished and assembled the awesome Cube Gears by Emmett from Thingiverse!

They are so much fun to turn. Printable working gears for the win!

http://www.thingiverse.com/thing:6073

Photo

Thing-a-Day #18 - Tweaking the Stepstruder MK6 on a Cupcake CNC

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

Today I spent some time configuring my MakerBot to work well with the new (awesome!) stepper based plastruder from MakerBot.

The pieces shown here are from the Cube Gears on Thingiverse: http://www.thingiverse.com/thing:6073

Photo

Thing-a-Day 2011 #17 - Simple line-wrapping for Hershey JS demo

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

I've decided to slowly expand this drawing-stuff-in-the-browser demo, and added some simple line-wrapping to the code on my demo page:

http://schmarty.net/hershey_js_demo/

Word wrapping is an interesting topic, and I hope to get this cleaned up a bit with features like breaking up words if they are too long, improving the algorithm to make nicer "squared" paragraphs, etc.

Line_wrapping_hershey_js

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

Thing-a-Day 2011 #15 - How-To docs for Inkscape Unicorn extension

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

It's about time this stuff was documented for other people to use easily!

So, I made this page on the MakerBot wiki:

http://wiki.makerbot.com/unicorn-output-for-inkscape

Unicorn_g-code_output_extension_for_inkscape_-_makerbot_industries

Thing-a-Day 2011 #14 - Sticky Note Tweet template for Unicorn

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

I've been toying with the idea of cool automatically generated plots for the Unicorn pen plotter. This one is an experiment in laying out a tweet for plotting on a sticky note.

It should be possible, layer, to use this as a template for creating new plots! Could be kind of fun.

Feel free to grab the file on Thingiverse.

http://www.thingiverse.com/thing:6425

Tweet

Thing-a-Day 2011 #13 - Cardboard spool for MakerBot plastic

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

Inspired by Charles Pax’s design, but painstakingly faked with a ruler, pencil, string, and scissors. I also picked up a lazy susan for it to ride on, so I just need to get a plastic drawer to mount it all to.

http://www.thingiverse.com/thing:1550

Photo