Everything you see in the video (except for the text and broccoli photo), I created and animated with math and code programmed in ActionScript 3. The changing seasons leading up to Christmas are set to the music from Vivaldi's "The Four Seasons". The original version was a Flash interactive, so you could click a "Play Again" button at the end. Each time the animation played, the code randomly created different shaped branches, leaves and snowflakes, just like nature! Try it here: http://www.kenhuxley.com/fineart/ecard.html (requires Flash)

In this animation, not a single line or shape was drawn by hand. The branches growing, leaves changing color, the snowflakes and their behaviour as they fall, even the background winter trees ("big up" to my hero Katsushika Hokusai), all come to life through code, the use of recursion and fractal math. The text accompanying the broccoli image at the end explains that the mathematical wonders of fractals manifests themselves abundantly in nature.

I originally pitched the concept to a major science museum in Canada. Each year, the museum creates an animated "Holiday Card" which is posted online for their visitors to enjoy. One of the key goals of the card is to teach visitors cool science concepts in a fun and thought-provoking way. The question: "How can we do this with a subject as complicated as fractal mathematics?" sparked this project. But since I built the algorithms on my own time, long before the project started, I owned that intellectual property. So for copyright reasons the museum couldn't negotiate using the card. I've stripped the card of its corporate identity so I can share it with you here.

I hope you enjoy it. :)

# Ken Huxley Fine Art

Ken Huxley

A place for me to share animation experiments I've programmed using C++ and the Cinder creative coding framework. My "generative art" image are here: https://www.flickr.com/photos/kenhuxley/albums/

I'm also a painter. My watercolor and oil paintings…

+ More

A place for me to share animation experiments I've programmed using C++ and the Cinder creative coding framework. My "generative art" image are here: https://www.flickr.com/photos/kenhuxley/albums/

I'm also a painter. My watercolor and oil paintings from Canada and Asia:
https://www.flickr.com/photos/kenhuxley/albums/

What else am I'm up to as I code, paint and travel through Asia in 2015-2016? http://www.kenhuxley.com

#### Shout Box

Heads up: the shoutbox will be retiring soon. It’s tired of working, and can’t wait to relax. You can still send a message to the channel owner, though!

Channels are a simple, beautiful way to showcase and watch videos. Browse more Channels.