diff --git a/.idea/workspace.xml b/.idea/workspace.xml index e9cd0cb..10154c7 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -46,11 +46,11 @@ - + - - + + @@ -80,11 +80,11 @@ - + - - + + @@ -140,8 +140,8 @@ @@ -233,6 +233,7 @@ + @@ -515,12 +516,12 @@ 1423576956527 - @@ -537,7 +538,7 @@ - + @@ -678,20 +679,20 @@ - + - - + + - + - - + + diff --git a/out/production/Fractals/PythagorasTree$PythagorasTreeVariant.class b/out/production/Fractals/PythagorasTree$PythagorasTreeVariant.class index 576f4e8..7ad8044 100644 Binary files a/out/production/Fractals/PythagorasTree$PythagorasTreeVariant.class and b/out/production/Fractals/PythagorasTree$PythagorasTreeVariant.class differ diff --git a/out/production/Fractals/PythagorasTree.class b/out/production/Fractals/PythagorasTree.class index 784452f..09bb993 100644 Binary files a/out/production/Fractals/PythagorasTree.class and b/out/production/Fractals/PythagorasTree.class differ diff --git a/src/PythagorasTree.java b/src/PythagorasTree.java index 24f6df7..7e7bc67 100644 --- a/src/PythagorasTree.java +++ b/src/PythagorasTree.java @@ -44,6 +44,7 @@ public class PythagorasTree { turtle.setPenColor(drawColor(momentaryDepth, maximalDepth)); turtleState.returnToState(turtle); DrawingTools.drawSquare(turtle, size); + turtle.forward(size); if (momentaryDepth + 1 >= maximalDepth) return false; addSubTrees(queue); return true;