Monthly Archives: March 2015

A Procedurally Generated Cavern System in JavaScript

The JavaScript code below, when run, procedurally generates and displays a map of a random cavern system. To see it in action, copy it into an .html file and open that file in a web browser that runs JavaScript. Or, … Continue reading

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

A Text Console in JavaScript

Below is a simple text console implemented in JavaScript. To see it in action, copy it into an .html file and open that file in a web browser that runs JavaScript. Or, for an online version, visit https://thiscouldbebetter.neocities.org/textconsole.html. Click on … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

A Simple Sokoban Game in JavaScript

The code below implements a simple “Sokoban” game in JavaScript. To see it in action, copy it into an .html file and open that file in a web browser that runs JavaScript. Or, for an online version, visit https://thiscouldbebetter.neocities.org/sokoban.html The … Continue reading

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

A JPEG Decoder in JavaScript

The JavaScript code below represents an incomplete and buggy attempt to implement a simple JPEG decoder. To see it in action, copy it into an .html file, open that file in a a web browser that runs JavaScript, and click … Continue reading

Posted in Uncategorized | Tagged , , , , , , , | 1 Comment

The Discrete Cosine Transform in JavaScript

The discrete cosine transform, or “DCT”, is used to convert a signal in the spatial domain (for example, a sound or an image) into an equivalent signal in the frequency domain. This frequency-domain signal can then be processed in some … Continue reading

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

A Zookeeper Import Utility in C# and .NET

Implemented below is an import utility for Zookeeper implemented in C#. ┬áIt uses the Org.Apache.ZooKeeper library for .NET (“ZooKeeperNet”).

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

A Screen Capture Utility in C# and .NET with SharpDevelop

Described below is a simple screen capture utility implemented in .NET and C#. The program accepts command-line arguments that describe the portion of the screen to be captured, what to name the screenshot files, and which image format to use. … Continue reading

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