Skip to content

Latest commit

 

History

History

Jan10_Tree

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Jan 10: Tree

Find other images here

Description

Using purely geometric shapes (ellipse, rectangle, triangle) draw three trees. The foliage (leaves) is a reverse spiral, with the geom's radius shrinking as well.

Technical

I started with a spiral. Reversed it, and then used the points as centers to places the geoms (rectangles, ellipses).

Code and Common Modules

tree1.py is what you have to run to recreate these images. Run this from inside the Processing IDE, since it uses Processing.

For most of these, I am using the Processing Framework. Since I mostly code in Python, I use the Python extension of Processing, which is not as popular as its Java version. Also, I sometimes create small resuable code segments which I use in multiple projects. I'm sharing all my genart code, in case others find it useful.

Ram