Python Drawing Competition

The first Linux Voice competition is now closed and we’re poring over the entries. Now it’s time for competition number two! This time, we’re looking for programmer’s with artistic flair. The challenge is quite simply to create the best drawing you can using only the Python turtle module (no other modules are allowed) in 100 lines of code or less.

As an example of what you can do, we’ve created the following winter scene using recursion and fractals to keep the number of lines small:



Help us get the bleak memory of winter out of our system with some more colourful drawings


This is created using the script here. The turtle module is really easy to use, and is also an interesting way of visualising coding techniques such as loops and recursion. You can find more details about getting started in our tutorial from issue two. Non-subscribers can get it here:


Linux Voice reader Johno Whitaker has uploaded a python Mandelbrot set generator to github that you can include in your code should you wish:

Of course, you don’t have to use fractals. Anything is fine as long as it’s no more than 100 lines of Python (not including comments) and only imports the turtle module. Entries will be judged by the Linux Voice team on artistic merit not code quality, and out decision is final. Entries must be emailed to by the end of the 1st May 2014. To be eligible, the entry must be licensed under an OSI approved open source license. Up to three entries per person will be accepted. The winning entry will receive an exclusive Linux Voice winner’s t-shirt.

Update! It turns out that there’s another Python drawing competition going on specifically for students. Check out if you’re 16 or under and living in the UK.

    • Ben Everard

Leave a Reply to Jonathan Whitaker Cancel reply

Your email address will not be published. Required fields are marked *