Shop Mobile More Submit  Join Login


Learn our DeviantArt ABC

What's Happening?


Fractal Art Week

with C-91

F e l l a . 0 2 by thekidKaos

Find your favorite art form in education format by either browsing the galleries on the right or visiting #projecteducate's 2013 Roundup. To find out what's coming up in 2015 check out the schedule.

chalkboard resource

Pythagoras tree in Stucture Synth

Sun Mar 29, 2015, 12:56 AM by tatasz:icontatasz:

Fractal Art Week

In this tutorial, I will explain how to make simple Pythagoras trees in Structure Synth.

Getting started

You can learn what a Pythagoras Tree is here:…. A good example of this type of fractals is the work below:

What is a Fractal? by TaraRoys

Also check the basic Structure Synth commands here:…
I will explain the formulae and rules that will be used, but still it is useful to take a look at the basics.

Building a basic tree

The first step is to create the "trunc" rectangle:

    rule base{{s 0.1 1 0.1} box}
    {s 100 100 0.1 z -0.5 color grey } box

In the code above, the first line defines a rule called "base", which creates the red block which will be our trunk. The {s 0.1 1 0.1} defines the size of this block.

The second line draws a huge grey block that will be our background. I set quite a large size to it (100x100 and 0.1 unit thick). The z -0.5 command sets a shift of 0.1 on the z axis, so it is under our red block. The last command, color grey, sets the object color to grey.

Finally, third line executes the "base" rule, drawing the red block.

Untitled Drawing by tatasz

Now, the branches:

Untitled Drawing by tatasz

The left branch is a scaled down copy of the main "trunc", shifted and rotated. So you need a rule that takes the main red block, rotates it CCW, shifts it a bit left (x axis) and up (y axis) and scales it down a bit.

    rule base{{s 0.1 1 0.1} box}
    rule pythagoras {
    {x -0.25 y 0.9 rz 30 s 0.9}pythagoras

    {s 100 100 0.1 z -0.5 color grey } box

This is what the rule "pythagoras" does. Unlike the first rule, "base", this rule is recursive: on each step, it draws the base rule, and then a shifted (0.25 to left and 0.9 up), rotated (30 degrees CCW) and scaled down (0.9 of the original size) "pythagoras" rule:

X3 by tatasz

Thats one nice swirl, but a pythagoras tree branches in two on each iteration. The second branch is just a mirrored version of the first:

    rule base{{s 0.1 1 0.1} box}
    rule pythagoras {
    {x -0.25 y 0.9 rz 30 s 0.9}pythagoras
    {x 0.25 y 0.9 rz -30 s 0.9}pythagoras
    {s 100 100 0.1 z -1 color grey } box

The result looks like this:

X4 by tatasz

Now, time to experiment.
Try changing the rotation angle (make sure you change the shift too):

I2 by tatasz

Or set different rules for each branch:

I3 by tatasz

Or even add some crazy randomness:

If by tatasz

More Journal Entries

CRCP Award Winners

CRCP Award - March 2015 by Sserenita

Want to get involved?

There are many ways in which you can get involved with projecteducate and if you'd like to write an article we would love to hear from you!

Community Weeks

Next Week: 6th - 12th April
We have an upcoming Community Week which you can read more about here. Community Weeks are designed to get the Community involved in Project Educate. We want YOUR articles, whatever the topic, as long as the focus is educational.

Art History

Art History weeks are all about the history of art! You can pick the topic you want to write about and post it during one of our Art History Weeks. For the latest sign up information and to get involved visit here.

Handy Hints and Tips

We also have a a series of Handy Hints and Tips which you can get involved in by reading this article here. This series aims to deliver shorter articles focusing brief tips with visual examples to aid you with many areas of your art.

Artists' Toolbox

Next Week: March 30th - April 5th
Artists' toolbox weeks include a series of Art Tool themed articles intended to update you on what's out there, what the best tools are for the trade (in our humble opinions) and how to use them. Find out how to get involved here!

Community Volunteer Weeks

Our Community Volunteers regularly run weeks here at projecteducate and if you feel like you could help them out then check out the schedule here to see what's coming up and note the CV!

Suggestions, Feedback and Ideas?

We actively encourage all of the above and invite you to note the group with your thoughts and feedback. Look forward to hearing from you!


projecteducate Schedule 2015

background resource

Recent Journal Entries











Add a Comment:
jennystokes Featured By Owner 6 days ago  Professional General Artist
I think I could help a lot with Traditional Art (drawing).
I already do this on one of my Groups.
Learning how to look at shadow to make depth would help a LOT of young people.
(1 Reply)
heavenriver Featured By Owner Mar 18, 2015  Hobbyist Digital Artist

So hyped to be in here!
Ubblegum Featured By Owner Feb 10, 2015  New member Hobbyist General Artist
Hi!! I'm just wondering  if there's anyway I can help with project educate, or ArtHistory? Or anything else this group needs help with, I'm always willing. 
(1 Reply)
loginng Featured By Owner Feb 2, 2015
Buen dia , no logro entender nada, favor publicar una versión en español. por ejemplo, no se o no entiendo que son las "LLAMA" no se que son los puntos cada vez que subo una imagen, disfruto del trabajo de los demás suscritos, pero no se nada del manejo de la pagina, Gracias.

good day, do not understand anything, please post a version in Spanish. eg not. or understand which are the "LLama" is not that they are the points every time you upload a picture, I enjoy the work of others signed, but nothing for managing the site, Thanks.
(1 Reply) (1 Reply)
FTSArts Featured By Owner Jan 24, 2015  Hobbyist General Artist
Hi there, I was wondering (maybe you all have already made a journal about this) about white gel pens. Mainly I am looking for what is the best kind to use with colored pencil art. I was going to just buy a gelly roll pen but I didn't know if that is only suitable for writing, or if I need to buy something a bit more sophisticated. Thanks for the time anyone takes to reply :hug: 
(2 Replies)
iingo Featured By Owner Jan 20, 2015  Hobbyist Digital Artist
Looking forward to the DD Week! :la:
arielniweihuang Featured By Owner Jan 1, 2015  Professional Digital Artist
Thanks for accepting me~~~!
Lammebill Featured By Owner Dec 24, 2014  Hobbyist Digital Artist
Thank you for the fave! :D (Big Grin) 
TheGalleryOfEve Featured By Owner Dec 8, 2014  Hobbyist Digital Artist
(1 Reply)
Add a Comment: