Monthly Archives: October 2016

An Entropy Generator in JavaScript

The JavaScript code below, when run, attempts to gather “entropy” (randomness) from the time between the user’s keypresses, and displays the gathered entropy as bits, hexadecimal digits, and Base64 digits. To see it in action, copy it into an .html … Continue reading

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

A Simple Hex Editor in JavaScript

The JavaScript code below implements a simple hex editor 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/hexeditor.html.

Posted in Uncategorized | Tagged , , | Leave a comment

An Pixel Art Editor in JavaScript

The JavaScript below implements a simple image editor for editing very tiny images pixel-by-pixel. 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 … Continue reading

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

A Parallelization-Ready Ray Tracer in JavaScript

The JavaScript code below implements a ray tracer in JavaScript. It is based on an earlier version in a previous post, but has been cleaned up and refactored somewhat, with an eye towards eventually making splitting the view to be … Continue reading

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

Running the Unity Game Editor on Linux Mint

Follow the instructions below to download, install, register, and run the editor for the Unity game engine in Linux Mint. 1. Open a web browser and navigate to the URL “https://blogs.unity3d.com/2015/08/26/unity-comes-to-linux-experimental-build-now-available/“, then click the link labelled “Official 64-bit .deb Package” … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

A File-Splitting Utility in JavaScript

The JavaScript code below implements a simple file-splitting utility. It provides a way to split a large file into a number of smaller files, and then to re-join those smaller files back into the larger one. Splitting a large file … Continue reading

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