Legacy Apps
This is a small collection of JavaScript Apps that I have put together from resurecting old code that had previously been written in other languages.
The Dice Man
The Dice Man was originaly a program written in OPL for the Psion Series 3 to roll an animated dice across the screen. The dice animations were developed with Pete Lyons (Team 17) and reuse only 36 frames rotating through all possible upturned faces on a dice. This allows the program to start the animation on different frame numbers depending on the desired outcome
I later ported the code to run as a Java Applet on an old personal website and it is this code that I have recovered and ported to Javascript as JVMs to run applets are now a dying resource.
RunAGL
AGL is a simple graphics language that was developed to draw interesting geometric patterns. The original code was written in C++ and was intended to not just draw the patterns but to try and draw them in an interesting way. This is done by allowing a shape to be drawn in one primary colour but with a secondary colour specified. The routines would then draw with the primary colour until the screen pixel already matched in which case it would use the secondary colour.
RunFun Stuff
This is a small collection of fun applications in javascript.
Oblique
Oblique Strategies was a set of inspirational cards created by Brian Eno and Peter Schmidt in 1975. This was a simple Javascript App to pick a random card from the deck and display it on the screen.
RunMondrian
Mondrian is a simple javascript app to draw pictures in the style of Piet Mondrian. It has been an idea that has gestated a while and existed in partially finished formats in a number of languages but this will be the first time it has been completed.
RunArtificial Life
This is a small collection of artificial life applications.
CA
CA is a 1D celular automata. It is a simple pre-cursor to 2D Automata like Conways Game of Life.
Each row of the output represents a generation of the CA that has been calculated from the previous generation using the set of rules that determine if the subsequent cell is alive or dead.
RunLife
A simple implementation of Conway's Game of Life to follow on from the simple 1D celular automata implementation. The rules follow the traditional rule set of the game of Life.
- If a live cell has less than two neighbours it dies
- If a live cell has two or three neighbours it lives
- If a live cell has more than three neighbouts it dies
- If a dead cell has thre neighbours it becomes alive
- The world wraps around the edges to count neighbours