Archive: December, 2008

Install Syntax Highlight in WordPress

After googling around I found wp-syntax which I think it’s quite power full and support many programming language (surely Actionscript3). Woooooo, see what it look like.

The Day The Earth Stood Still

I’ve watched this movie “The Day The Earth Stood Still” on last Sunday, the movie is ok for me, nothing really surprise but one scene in the movie make me wanna do some experimental in the flash. If you don’t want to be spoiled please skip the next bit that I’m gonna write next. And if you read here that mean you don’t care the spoiled, well the scene that the alien flies try to get in the mirror. The animation is quite cool and I think that is some kind of old trick animation by “Brownian” equation so I’ve done some experimental below:

Simple Brownian Movement:

Simple Brownian

Adapted version, try to make its come out closer to the film:

Brownian 2
(Click anywhere on the stage to restart the animation)

25lines code experimental

I’ve submit my code for competition at 25lines but my one still not as good enough for get in the final list, all of the final list are very cool and good to see. By the way, it’s quite fun to try to code. So after failed from the final list, I’m continue working on it a bit more for my fun and try to keep it as 25 lines. The result is quite impress now for me. The quick result is show as the image below:


The idea is using the camera as the eye for flash to sketch your image on screen. If you move and cause the original image which is you compare to the current draw on screen look different then program will blur those different section out and start to draw from the most blur to more clear again. The output also give the feeling of teleport from one place to another you move from one location to another quickly.

warning: for slow machine, this may cook your cpu 🙂