Tag Archives: canvas

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