Inverse-kinematic springy grass
This isn’t a formal tutorial… just a source code dump. I made this randomized, springy IK grass in Flash for Curiobot a while ago, but decided that it was too CPU-intensive to risk combining with all of the DOM-scripting on the site. As such, I didn’t bother optimizing it much, so that’s up to you.
The files: IK grass classes
The final result: Springy IK grass
Click on the stage and then move your mouse left and right to simulate a breeze through the grass.
The variables contained in the .fla are pretty well labeled… you shouldn’t have any trouble playing around with them. I’m afraid the thing was built in Flash MX 2004… so it’s AS2.0, not AS3.0. But it wouldn’t be hard to convert… it’s already OOPed. I think I’ll put it into Processing soon. Should run much better.
Enjoy!

Hi Don,
I love your grass image. Do you mind if I use this in the logo for my new business?
Best,
Lauren
Lauren
9 Mar 10 at 00:19:43
Go for it. I’m not using it. A linkback on your website (if applicable) would be appreciated though. Enjoy!
Don
9 Mar 10 at 08:51:24