Software | Web | Coding

Blog

Customising Django Simple Captcha

I used the django-simple-captcha to protect the comments form from spamming. Some time after the site went live, I noticed spam comments starting to appear.  The site does not generate much traffic, but the comment spam nonetheless became more and more prolific, with dozens of entries appearing each day. I took a look at the captcha to find out what ...

Using Images in Django

This is another tutorial style write-up of my exploration of django features. I build a basic gallery style app and look at django-imagekit I have a long standing photography website hosting thousands of images I have collated from various holidays and treks through the countryside. It's based on the Gallery Project, which is a PHP based ...

HTML5 Canvas Fractal

I always wanted to create a fractal generator since experimenting with fractal programs on my Amiga many years ago. Fractals are fascinating, beautiful patterns generated mathematically. They have infinite complexity, and you can explore uncharted depths by zooming on different areas. In this case I'm using the Mandelbrot set, but there are many others. The <canvas> element introduced in ...

HTML5 Canvas Game of Life

Conway's game of life is a model of cellular automation that produces intriguing, organic looking patterns and animation as it evolves. Like my fractal generator, I think it's another example of fascinating imagery that is produced with very simple rules. Cells are modelled on a grid, and they evolve depending on their number of neighbours. ...

Building a simple django blog

I created a simple django blog to use on the Starcross website. Here's a write up about the design decisions I made an some code snippets I used. As with all my posts, I'm interested in your suggestions, comments, and any other contributions. There are lots of examples of django blogs out there, but they are simple to build so ...