This site is archival. For maintained and responsive content, visit
© 2009 Elizabeth Cherry tree processing script

Cherry Blossoms

Cherry Blossoms has a maintained page at

processing sketchProcessing sketch of a dynamically drawn cherry blossom tree for the Momentary Big Screens animation.

Now comes part two of my Processing documentation for Momentary: an algorithmic animation of a cherry tree, drawn in a pen line style.

After working on the mountains, it came time to work on other components of the scroll.  I started playing around with different tree sketches that others had written in Processing.  The one I finally chose to work with was a drawing by Luca Ongaro.  In his animation, every time the viewer clicked their mouse, a new tree would be drawn with branches and blossoms.  It was a rather static piece that only varied in the frame between clicks.

Since the animation for momentary was about dynamically drawn content, it was up to me to deconstruct the code and reformat it so that each line was drawn methodically and over time.  Since I was interested in simulating line strokes, I rewrote the code so that all the intersection locations were saved in an array and then the points that composed the branches were drawn, point by point, in continuous strokes, with the cherry blossoms being after thoughts that bloomed on the branches as soon as the were given life by the artist.

I have several versions of these stroke drawings, each surveying slightly different purposes.  The trees used in the final piece did not have the cherry blossoms.  I included this version since I put in the effort to allow for a growing item in the piece which was never fully realized in the final piece.  There is no point in leaving it to simply languish on my hard drive without ever being realized in the vast world.

Thus, I post a sample and the code for you to use as you will.  Attribution and a link back would not be unappreciated.

Related posts:

  1. Painted Mountains Painted Mountains has a maintained page at Processing sketch...
  2. Big Screens Momentary has a maintained page at It occurs to...
  3. UFO Class 2 Assignment 2: UFOs So, we were assigned to...
  4. It’s not a bug, it’s a feature…but it has to go Having graduated from mountains, I am now working on...
  5. Falling Dreams Click To Play In comm lab this week, we...


  1. Posted March 5, 2011 at 4:57 am | #

    I was searching for line drawings of trees to use for a flyer announcing a small library event (about trees) in Rhinebeck, NY. And I love this one!!!

    The event is not-for-profit and I wouldn’t be publishing your image anywhere (just posting it within the library), but I wanted to see if it’s okay with you that I use your image. I can include a credit at the bottom if you want, but I don’t know your last name!

    Thanks so much.

  2. Posted March 24, 2013 at 6:04 pm | #

    I would have been cool with this. Pity I’m lame and don’t read comments until two years later.

Post a Comment

Your email is never published nor shared. Required fields are marked *


You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>