16 Step Rectangle sequencer

The bent 486 machine has alot of potential with the right software. It can even be turned into a glitch based drum machine/sequencer. The simple Pascal code is as follows, an array of 16 elements is generated and filled with random numbers. With each step a different rectangle is drawn based in the value in the array that corresponds to the step. The result a basic random melody generator. Next step is to create a UI to allow for note editing. Here is a video enjoy.