Monthly Archives: September 2015

Generating a Voronoi Tessellation in JavaScript

The JavaScript code below, when run, generates a random Voronoi tessellation and displays it in two different representations. A Voronoi tessellation, according to its Wikipedia article, is “a partitioning of a plane into regions based on distance to points in … Continue reading

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

Simple Graphics in C++ on Linux with GTK+

Follow the steps below to implement a simple graphics application in C++ on Linux with GTK+. When run, the program will display a small window containing a rectangle of random size, color, and location. 1. In any convenient location, create … Continue reading

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

A Simple GUI in Linux using GTK+ and C++

Follow the steps below to create a simple graphical user interface (GUI) in C++ using the GTK+ toolkit. GTK+ is a popular open-source toolkit used to create GUIs in Linux. Steps 3-5 of these instructions assume a version of Linux … Continue reading

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

A Simple Text-To-Speech Application in JavaScript with the Web Speech API

Below is a simple text-to-speech application implemented in JavaScript, using the Web Speech API. To see the code in action, copy it into an .html file and open that file in a web browser that runs JavaScript. Or, for an … Continue reading

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

Speech Synthesis in JavaScript with the Web Speech API

The code below uses the Google Speech Synthesis API to say a few simple statements at various speeds and pitches. To see it in action, copy it into an .html file and open that file in a web browser that … Continue reading

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

Making a Bootable .ISO from a Bootable Floppy Image

Follow the steps below to create a bootable .ISO file. These steps assume that the user’s host operating system is Microsoft Windows. 1. If you have not already done so, download and install VirtualBox. VirtualBox is a freeware virtualization hypervisor … Continue reading

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