This site requires JavaScript, please enable it in your browser!
Greenfoot back

Report as inappropriate.

sandtreader
sandtreader presents ...

2011/9/26

turtleGraphics with Fractals

Based on Poul Henriksen's original turtle graphics scenario, but with fixes to make it work in the new Greenfoot API with Actor move() and turn() methods

Also includes a generic fractal tree plotting class showing the use of recursion, and various types of tree and snowflake structures derived from it.

6167 views / 1172 in the last 7 days

1 vote | 0 in the last 7 days

Tags: demo with-source tree turtle recursion fractal snowflake

open in greenfoot
Your browser does not support the canvas tag.
danpostdanpost

2011/9/26

I press run and nothing happens; is there something one needs to do after pressing RUN?
sandtreadersandtreader

2011/9/27

This is an update for the original turtleGraphics scenario distributed with Greenfoot, and it needs to be downloaded into Greenfoot itself - then you can create turtle objects and they will draw interesting stuff! Sorry it doesn't do anything in the Web applet, but if it did it would confuse things when used normally.
actiniumactinium

2011/9/28

Strange.
danpostdanpost

2011/9/28

Even downloaded into Greenfoot, I got nothing but a blank screen after pressing RUN!
danpostdanpost

2011/9/28

Even downloaded into Greenfoot, I got nothing but a blank screen after pressing RUN!

Want to leave a comment? You must first log in.

Who likes this?

dangjavageek