Monthly Archives: September 2014

Exploring the TrueType Font File Format in JavaScript

The JavaScript program below, when run, will present the user with a file upload button. If the user clicks this button and uploads a valid .ttf (TrueType font) file, the glyphs of that font will be displayed in outline. This … Continue reading

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

Generating a Random Planet in JavaScript

The code below, when run, will generate and display a globe of a planet with random terrain.  To see it in action, copy it into an .html file and open that file in a web browser that runs JavaScript. You … Continue reading

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