Feb 252009
I wrote a Python script to generate a series of pretty cool images, and thought it was enjoyable enough to watch that I would put it on YouTube.
Basically, this is the function sin(x)+cos(y) where x and y both range from -5 to 5. The hue of a pixel’s location is the value of that function plus a small number times the amount of frames that have passed, all modded by 1.0 to get a number I can convert to a hue.
This was done using the pygame module from http://www.pygame.org/.
Duration : 0:5:0
Readers have also enjoyed these related posts:
it’s not ugly
it’s not ugly
None taken. It’s …
None taken. It’s not like I poured my soul into it or something. I thought it was sort of interesting to watch when I made it so I uploaded it, but the older it gets the less I like it.
It’s ugly. (No …
It’s ugly. (No offense)
By the way do I …
By the way do I quote your username?
Sure, I always list …
Sure, I always list where I got footage from in all the descriptions. (They’re on my other profile).. Thanks a lot.
Okay, just give me …
Okay, just give me credit somewhere.
May I use this in a …
May I use this in a music video i’m making? Thanks.
wow
very cool
wow
very cool
awesome
awesome
Nice work
Nice work
Can you give me the …
Can you give me the script please ?