A few months ago I was working on a program to scan qr codes with specific text (e.g forward10) and pass this on to turtle graphics. I have now updated the repository with 4 new codes to allow for the fact I had to modify the program a little as 5 , 10 pixels are too short a distance to really notice
Now has 4 new png files for 25,50,75 and 100 pixels.
The QR codes were generated from the website at
The main program can now work more logically as there is now a code that says Forward25 which can be linked to the right turtle command rather than using my work around where scanning Forward10 moves 25 as that distance is easier to see on the canvas.
If you want to have a go please feel free to download the code, If you look at https://github.com/zleap/nestedloops there is code to save the graphics canvas as a file.
basic nested loop using turtle graphics and python #added input checking import turtle import time #set file name fname= raw_input("Filename (must include .eps ") #fname="dial.eps" and ts = turtle.getscreen() ts.getcanvas().postscript(file=fname) print "Saved image to: ", fname print "All done. Click image to exit." turtle.exitonclick()