Monthly Archives: November 2015

Exploring the COLLADA File Format in JavaScript

The JavaScript code below, when run, presents the user with a file upload button. When a .dae file is uploaded, it parses that file into a 3D scene and displays that scene as wireframes. The program, as it stands, it … Continue reading

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

Deserializing and Reserializing XML in JavaScript

The JavaScript code below, when run, displays an XML-formatted text string, deserializes it into an an XMLDocument object, re-serializes that object into another text string, and then displays that text string. To see it in action, copy it into an … Continue reading

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

A Rudimentary Logic Circuit Simulator in JavaScript

The JavaScript code below implements a rudimentary logic circuit simulator. The very simple demo circuit includes two constant signal sources, two logic gates, and two logic probes.

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

Installing and Running Jenkins in Windows

Follow the steps below to install, configure, run, and test Jenkins on a computer running Microsoft Windows. Jenkins is a continuous integration server. Continuous integration is the practice of automatically re-building a software package whenever its source code is changed. … Continue reading

Posted in Uncategorized | Tagged , , , , , , , | 2 Comments

Triangulating a Polygon with the Ear-Clipping Algorithm in JavaScript

The JavaScript program below, when run, draws a complex polygon, converts that polygon to triangles using an “ear-clipping” algorithm, and displays the results. To see it in action, copy the code into an .html file and open that file in … Continue reading

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