Algorithmic Doodle Art: Brambles with buds

Landscapes in films are often computer generated. Ever wondered how they do it? Next time you find yourself doodling, draw an algorithmic doodle and explore algorithms for drawing real and fantasy nature.

Here is an example Doodle Algorithm of brambles with buds.

1. Start by drawing a wavy green line with small lines sticking out at angles from it on either side (as below)

2. DoodleDraw from that line as follows.

To DoodleDraw from a given line:

1. EITHER

a. Draw a new wavy line from the chosen line with small lines sticking out at angles from it on either side.

OR

b. Draw a red bud shape from the end of the line

2. Choose a new existing line and DoodleDraw from that line

brablesbudsstart.jpg

As you choose the exact positions and lengths of lines randomly you will get a slightly different picture just as no two plants are identical. Different algorithms give different looking trees, grasses, ferns, snowflakes, crystals.

Download a printable copy of this activity

Download a printable solution

Try some of our other Doodle Art, then start inventing your own doodle art algorithms and see how realistic the drawings you end up with are.


CS powers: algorithmic creativity!


Grass Doodle ArtMore Algorithmic Doodle Art


cartoon character reading a treasure mapMore puzzles