Category Archives: Uncategorized

A Music Notation Renderer In JavaScript

The JavaScript below prompts the user for a musical composition in JavaScript format, and then renders that composition in musical notation. To see it in action, copy the code into an .html file and open that file in a web … Continue reading

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

A MIDI Viewer in JavaScript

The JavaScript program below prompts for a MIDI file, loads that file, parses it into text, and displays that text. It also allows the file to be re-saved, though, since the file can’t be edited, re-saving is solely a way … Continue reading

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

A Line-by-Line Text Differencer in JavaScript

The JavaScript code below compares two text files line-by-line to find the differences between them, and then displays those differences with appropriate highlighting. To see it in action, copy it into an .html file and open that file in a … Continue reading

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

A Color Palette Generator in JavaScript

The JavaScript code below generates a color palette of a specified size from a specified image, then re-draws the image using that palette. (At least, I think that’s what it does. It worked on the first try, which always makes … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment

A Music Tracker in JavaScript

Below is a screenshot of a music tracker implemented in JavaScript. To see the code, visit the URL “https://github.com/thiscouldbebetter/MusicTracker“. Or, for an online version, visit the URL “https://thiscouldbebetter.neocities.org/MusicTracker/_MusicTracker.html“.

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

A Touch-Typing Trainer in JavaScript

The JavaScript code below implements a simple typing trainer 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 the … Continue reading

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

Drag and Drop with External Files in HTML5 and JavaScript

The JavaScript code below, when run, allows the user to drag and drop image files onto a box, upon which the image and its file name will be displayed. To see it in action, copy it into an .html file … Continue reading

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