A few readers have requested the full m file for the Theo Jansen mechanism. I've uploaded it here. If the download won't work for you lease me your email address and I will gladly send it to you. Please don't just copy the file. This is meant for reference only. In other words, figure it out on your own!
http://cadsystemshelp.blogspot.com/2010/04/theo-jansen-mechanism-matlab-code.html