Hi, I'm Andy!

Biosensing, Brain-computer interfaces, CS + HCI at Carnegie Mellon

Physical Word Length Calculator

Published February 01, 2021


Hi! I'm making a neon sign with cursive on it, and wanted to know how much neon I'd need to spell out all the letters. To do this in real life, you'd need to cover each letter in string and measure the string, or draw it on a computer and count how long the curve was.

I wasn't able to find the latter calculator anywhere, so I wrote this little p5.js sketch that you draw a letter onto and it tells you how many pixels long it is. Using this total pixel length and your neon wire length, you can calculate the inches/pixel and figure out how large your letters can be.

Instructions

Draw on this canvas and when you release the letter it'll tell you how many pixels long you drew. It doesn't matter how fast you draw, it'll be about the same length either way.

The old shapes are drawn in light grey so you can draw them to scale with each other. Press k to delete the last saved shape, or tap if you're on mobile.