I modified the leaf script from http://www.medphys.ucl.ac.uk/~mbanaji/recreation/kturtle.html to work with kturtle and I wrote my own Mandelbrot set tutrle script. I thought this might be useful for someone else.
Here is the code for the mandelbrot set. The code can scale to very high resolution but you will face terrible problems with kturtle speed. For best performance, select full speed (No highlight) from the Run menu.
Here is the code for the leaf. It is a modified version to work with kturtle as well as some fixed logic mistakes. Again use the same running environment as mandelbrot for best results.
Forgot to say, these files will not work if you just copy/paste them in the kturtle editor, you should .turtle files then open them from kturtle. This is because the turtle script is different from what is saved in the file and when you save/open it translates back and forth between both.
Here is the code for the mandelbrot set. The code can scale to very high resolution but you will face terrible problems with kturtle speed. For best performance, select full speed (No highlight) from the Run menu.
Here is the code for the leaf. It is a modified version to work with kturtle as well as some fixed logic mistakes. Again use the same running environment as mandelbrot for best results.
Forgot to say, these files will not work if you just copy/paste them in the kturtle editor, you should .turtle files then open them from kturtle. This is because the turtle script is different from what is saved in the file and when you save/open it translates back and forth between both.
No comments:
Post a Comment