First time at my blog? Check out the table of contents! x
posted on Friday, June 12, 2009 11:12 AM | Filed Under [ Silverlight ]

This is the second part of the Glen Rhodes animation section in my Silverlight Math Creativity blog series. In today’s post I recreated several more of Rhodes’ flower animations. To view the first half of the flower animations, go read my previous post from the series. If you want to start at the beginning of the series, you can check out the first post here.

Flower Version 8

In this version of the flower animation I elongated the petal and changed the fill and stroke colors using Blend. The animation code changed slight as well. The rotation speed of the petal is now set to a random value between –2 and 2, so petals are rotating clockwise and anti-clockwise.

image

Click here to view the animation.

Click here to download the source code.

 

Flower Version 9

In this flower animation the petals do not rotate. This causes the petals to shoot straight out from the center. The opacity and scale get animated though, so ever frame each petal gets larger and more transparent.

image

Click here to view the animation.

Click here to download the source code.

 

Flower Version 10

In this animation the starting scale of each petal varies randomly between 0 and 1. I also set the max scale to be 2, which allows the petals to take up the entire screen.

image

Click here to view the animation.

Click here to download the source code. 

 

Flower Version 11

I wasn’t quite able to replicate what Rhodes describes for version 11. In his example he manages to keep the petals very small while they rush past you. Since the scale of the petal has to increase in order for the petal to be farther from the center, I don’t see how you can keep the petal small w/o changing the logic of the animation entirely.

image

Click here to view the animation.

Click here to download the source code.

 

FIN

I will be wrapping up the Rhodes flower section of the book in my next blog post. Stay tuned!

 

Technorati Tags: ,,
Comments Leave Yours... No comments posted yet.

Post Your Comment

Title
Required
Name
Required
Email
Optional
Url
Optional
Comment  
Please add 1 and 1 and type the answer here:

Who Is Rafe

rafe

Rafe Kemmis

I am an audacious web developer with a double bachelor of science in Computer Science and Mathematics. I specialize in Microsoft ASP.Net, Silverlight, and Adobe ActionScript.

Questions?

Always a thoughtful response. You may post your question on an article, or contact me directly.

Hire Me.

I provide custom solutions to complex problems. I can help your business no matter how large or small.

Contact me now.

Subscribe