Projects

Welcome to the adamnfish projects page.

This page is designed to showcase some of my creations and side projects. Some were created to achieve specific tasks and some I made just to practice various areas of coding.

All of the code here falls under an MIT style licence, so feel free to use these scripts in your own work!

  • jsonplate

    A JSON templating syntax and JavaScript to convert the JSON into (x)html.

  • Older Projects

  • Text Effects

    The text effect function was written to add a bit of spice to this website. Be sure to have a look at the options (top right of this page) to play with the effect modes...

    The source code is available on the textEffect page

  • Link Chopper

    A script to force long links to break accross multiple lines.

  • Slideshow

    A very simple fading slideshow class for mootools (V1.11).

    There are plenty of slideshows about, but this one is designed to be a lightweight class to enable a fading slideshow.

  • adamnfish Mootools Extensions

    These are my personal additions to the mootools framework (V1.11) and are deployed on my websites.

  • PNG Moodfier

    A function that transparently enables full support of PNG files with alpha channel transparency in Internet Explorer. (Excuse the pun)

  • Panorama

    A simple class to display a large image in a small container element.

  • Font Size Changing Class

    A class to control font sizes for a website. This class was written for this website, so make sure you have a look at the options (top right of this page) to have a fiddle

  • (Much) Older Projects

  • Time Signature Improvisation

    For a while I had been stewing on the merits of 'random time signature improvisation'. One day I decided to stop thinking and start doing - the result is this.

    Sadly, I'm not convinced that the timings in JavaScript are reliable enough for a program of this nature, so this project remains incomplete. I'd be thrilled to hear from anyone that has successfully managed to use this program - feedback from anyone who has taken a look would be much appreciated. If I get enough requests for this one I might have another crack at it. Sadly, this will involve re-writing a lot of the code to improve the timings.

    Anyone who is familiar with any 'real' programming languages, take a look at the code and perhaps try re-creating the program. I'm confident that it would work very well in some flavour of C or any of the 'advanced' languages. This is something I would like to experiment with if a stable program can be written, so let me know if you find anything that does the job!

    [edit:] I'm pretty confident I could get this to work with mootools now, so I will have a crack at this in the new year after I've finished up with this site. Watch this space!

  • AJAX MySQL Command Line

    This, my first foray into the wonderful world of AJAX is a simple program that may be useful to those of you developing MySQL databases. I found that opening up the command prompt, browsing to the MySQL directory and logging on was a too-lengthy process! While this utility is not yet feature-complete compared to a real command line, it did serve as a useful exercise for me. Perhaps in the future, I will add a more detailed feedback system that properly recreates the command line experience.

    Big thanks to the moo JavaScript library. This program uses the AJAX classes defined in moo.ajax.js.

  • JavaScript model of a neural network (ADALINE)

    I created this model as part of my final year project at University. I was working on neural networks, specifically ways of modeling natural neural networks such as the human brain. I chose to specialize in the ADALINE and this model allowed me to bring an interactive element into my presentation. It was also extremely helpful for creating examples to use in my report.

    This was the first piece of complex JavaScript I wrote and as such the program is not browser-independent. For full compatibility I recommend using Firefox. Firefox is freely available from www.mozilla.com.

    This poster (pdf) provides a quick introduction to the subject of neural networks. For those with more time or a deeper interest a pdf version of my full report is also available. This deals with the subject in considerably more detail. Both the poster and the report will be helpful if you are struggling to understand the purpose of the ADALINE model!