Dang. It's been awhile since I've done anything in this blog. I have been extremely busy these past couple weeks. Mainly with school stuff. Not sure what to even write about. I feel kind of obligated to write something though. So I decided to showcase an old Flash project I did. The one you hopefully see off to the left. If you don't, or don't see water moving, then I suppose you oughta download a Flash player, which you should have for a lot of other stuff anyway. That or allow your browser to view it. It's nothing malicious, so don't let Internet Explorer put the fear in ya. Anyway, if you use IE, you should try downloading Firefox or Opera or Safari anyway.
This little ditty is a demonstration of something known as Perlin noise. The cool thing is that the image started off as a still image I took in Maui of a little Japanese pond at a resort with my cheap 7 megapixel auto zoom camera. Same kind of picture that almost anyone takes in this day and age. So how did I get the water to move? Well I didn't. Someone probably slipped acid into your water today. Just kidding.
I used two programs. First, I used Photoshop to create a layer mask over the water area. Then I used another program by Adobe called Flash CS3 to apply a complex algorithm to that area, called Perlin noise. Luckily, one does not need to understand the math in order to use it. You can find code all over the internet to paste into the ActionScript panel in Flash. If you are pretty familiar with both programs, it is actually very simple to do so long as you know the proper steps involved. I guess that is the case with most everything in life.
Well, that was the very simple explanation on how to do it. I left out some other important steps, but this isn't a technical blog, so I'll stop there. But if you see this and have a blog and want some kind of cool animated stuff embedded in it, I am happy to create stuff for you (for a small donation of course ;).
Anyway, that is all I have today. I'm not really in a thinking mood right now, but like I said, I just felt the need to put something up here. Hope you enjoyed it.
Peace.
PS/ The link to this project of mine is on my current school's server, on an old account. That is bound to go away anytime but most likely not for a few months. So it is possible if there is nothing to see above, it is because it was removed from the server. One day I will upload it elsewhere and fix the links in this blog. Right now, I am lazy.
Wednesday, March 11, 2009
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment