Emulators written in JavaScript

A list of emulators written in the JavaScript programming language. This list started as a compilation of JavaScript emulators posted to Echo JS over the years. If you know about any missing emulators, please consider adding them to the collection: the source for this page is available on GitHub. Thank you in advance. Acorn Atom Tiny Emu - by Andre Weissflog (source) Acorn Atom Emulator - by Phil Mainwaring. Software archive here....

June 12, 2014 · 15 min

Character and color cycling effect in JavaScript

Few weeks ago, I stumbled upon a cute little Javascript textmode library to generate text mode stuff inside the browser using the canvas element. Of course, I had to try to do something with it, and I quickly came up with this simple but efficient character and color cycling effect. You can see it in action here. Here is the code: var screenManager; var characterIndex = 0; var colorIndex = 0; // Define character and color arrays var arrayCharacters = [0x5c,0x7c,0x2f,0x2d]; var arrayColors = [0xf,0xb,0x9,0x1,0x9,0xb]; // The font that we will use var sourceFont = new Image(); sourceFont....

February 19, 2013 · 2 min

Creating thumbnails using PhantomJS and ImageMagick

As some people asked for more information about how I render thumbnails for NodeCloud, I decided to document the process and post about it, so here we go. In order to take the screenshots, I’m using a simplified version of the rasterize.js file bundled with PhantomJS, configured with a viewport size of 1024x768 and modified to wait 2000 milliseconds before creating output file, in order to allow every page element sufficient time to render....

March 18, 2012 · 2 min

Setting up a Node.js development environment with NPM and Cloud9 IDE installed locally

In this tutorial, you will learn how to setup a complete Node.js development environment, including NPM (the Node Package Manager) and Cloud9 IDE to edit, run, and debug Node programs. The following installation instructions have been successfully tested on Debian 6.0 “Squeeze” and on Ubuntu 12.04 “Precise Pangolin”, but they should also work properly on previous versions as well. We will install everything in the user’s home directory: this way, there is no need for any root access to the machine (provided the required packages are, of course, already installed), and each user can manage its own version of Node....

November 5, 2011 · 3 min

JavaScript Canvas Element and JS1k Contest

I’ve been experimenting with JavaScript and the canvas element lately, something I wanted to do since a long time, and I must say it’s quite fun to play with. As a result, I submitted a modest 322 bytes entry for JS1k (1k Javascript demo contest), which is a visual representation of a stripped-down bubble sort algorithm producing diagonal lines pattern. You can see it in action here: https://js1k.com/demo/503 The code is embedded below:...

August 27, 2010 · 1 min