Eventually, a copy of Macromedia Inc's Director software became available to me, and once I had built up sufficient expertise with it's language, Lingo, I made a Shockwave file for display in a web page that did exactly that.
However, my method required each block to be a separate sprite, (an abstract body which can contain an image and which can be moved around the screen as required), and Director simply wouldn't allow me to use more than 1000 sprites at once. I made two versions in Director before taking the decision to port the code over to another language I was getting used to: PHP.
PHP is a very different language from the super-user-friendly "Lingo" of Director. It's designed for powering dynamic-content websites which need to display information from databases and process submitted form data. However, it has many other features, one of which enables it to produce images. This is what I was after.
PHP has no concept of sprites. This forced me to develop a new system for creating the pattern - drawing the blocks directly onto the empty image file, (instead of simply switching the colour of pre-positioned sprites), according to the pattern dictated by the ported rule-processing code.
This meant that I was no longer limited by anything except how long I wanted the program to spend making the Pyramid. YellowMackerel Pyramid Engine v.3.x was born.
I've taken the decision to release the Pyramid Engine and the HTML "frontend" because although the one is near useless without the other, they do have a degree of independance and have therefore been able to develop seperately. The PHP source code for the Engine and the HTML for the frontend are released under the GNU General Public Licence, the pupose of which is to ensure that open-source code stays open. More information is included in the files.
Latest Downloads
All archives are released in both the .tar.gz and the .tar.bz2 formats for wider compatibility: the contents are identical.
YellowMackerel Pyramid Engine v.3.0
|
[ bz2, 1.5k | gz, 1.5k ] |
YellowMackerel Graphical Pyramid v.1.1
|
[ bz2, 10.8k | gz, 10.3k ] |
Older Downloads
Unless the latest version is buggy, (and it shouldn't be), you don't need these. Scroll back up!
YellowMackerel Graphical Pyramid v.1.0
|
[ bz2, 9.6k | gz, 9.1k ] |