Processing & Baba Yaga: Part 2
In an earlier post I showed my first, primitive, stick-figure drawing of Baba Yaga's hut on chicken legs. That version was what we called a "static" drawing, in that everything was spelled out exactly how it was to appear and nothing changed. This version is still static but it uses global variables with random arguments for some of the elements of the drawing. (I chose to vary the color, the height of the roof , the length of the legs, and the width of the feet.) Consequently, the picture is a little different every time that it's drawn. (You can try it out at OpenProcessing.org by clicking here.) Here's the code:
And here are three different iterations of the drawing, each using different random values:
Aren't they just the cutest little huts (for cannibalistic Russian witches)?