Category Archives: Software

Turning the Graph Function Into an Object in JavaScript, Part 4

Picking up from last week I’ve finished turning the JavaScript graphing widget into an object, the results of which are shown below. There is a long list of TODOs included in the code that is not close to being exhaustive; … Continue reading

Posted in Software | Tagged , , | Leave a comment

Turning the Graph Function Into an Object in JavaScript, Part 3

Today I’ll describe the sizing of characters so the graph object knows exactly how to place them. I hacked together a tool that prints out letters in a specified font and then draws horizontal lines at various offsets from the … Continue reading

Posted in Software | Tagged , , | Leave a comment

Turning the Graph Function Into an Object in JavaScript, Part 2

In drawing a graph I’ve created variables for all sorts of coordinates (where do the axes begin and end?) and characteristics (how many tickmarks per interval, how long are they, and what color?). However, rather than define the locations directly … Continue reading

Posted in Software | Tagged , , | Leave a comment

Turning the Graph Function Into an Object in JavaScript, Part 1

Sometimes it is simple enough to build an object from the ground up in a slow, methodical, organized fashion. By contrast, one may also choose to hack something together to get it to work, play with it, and then refine … Continue reading

Posted in Software | Tagged , , | Leave a comment

HTML5 Canvas Issue: Line Caps

I learned basic computer graphics in college and wrote my first programs on an original IBM PC with a Hercules graphics card. I remember that if you specified a start and end pixel that both of those pixels, along with … Continue reading

Posted in Software | Tagged , | Leave a comment

HTML5 Canvas Issue: Half-Pixel Offset

One of the issues I encountered when working with the HTML5 canvas element was the issue of pixel alignment. I made sure that the only size definition was given in the HTML declaration for the image itself as in:

Continue reading

Posted in Software | Tagged , | Leave a comment

Javascript HTML5 Canvas Pour Demo

When Bricmont was purchased by Inductotherm in 1996 I was charged with maintaining the product Inductotherm used to control its induction melting furnaces. During a lull some time later I worked up a little demo program in Delphi that could … Continue reading

Posted in Software | Tagged , , | Leave a comment

Missing the Point

A recent dinner companion shared a story of his management’s plan to ensure continuing maintenance and viability of a large and rather old mainframe system he supports for a government agency. His specialty is writing, maintaining, and modifying assembler code … Continue reading

Posted in Software | Tagged , , , | Leave a comment

Lack of sleep() in Javascript

I get it. I really do. Javascript is intended to work in a (mostly) single threaded way and allowing it to sleep could gum things up tremendously. Reading that and similar links has been beneficial and I’ll be making time … Continue reading

Posted in Software | Tagged , , , | Leave a comment

Zoot Suits and Not-So-Bad-Dancing

I started swing dancing in 2001, during the tail end of the craze that started around the time of the 1998 Gap Commercial (famous among other things for popularizing the 3D still pan effect also prominent in the seminal sci … Continue reading

Posted in Software | Tagged , , , | Leave a comment