Showing posts with label animation. Show all posts
Showing posts with label animation. Show all posts

July 19, 2013

Fire! Fire!


On Khan Academy a few days ago, a user asked for help. He said I was known for my animations, and that he needed fire for a game. A couple of days later, I tried writing a fire system. A couple of hours after that, I was done.

The result: a program that many people enjoyed. In only 20 hours, 46 users had voted it up. It has been 4 days since I wrote the program, and it now has at least 97 up-votes.

To create the fire, I used a particle system of a lot of transparent ellipses, a good bit of math, and Perlin noise. I added the wind yesterday, using Perlin noise to make transitions smoother. The program doesn't interact with the user; it's only supposed to look cool.

June 4, 2013

Sparking Ball


Here's a program I wrote about a week ago, for the graphics. It isn't a game, and it isn't a tool; it just looks cool. At least, I hope it does.

UPDATE: I modified the program so you can click for another ball.

If a little green guy pops up and complains about something, click restart.