Monday, April 09, 2007

ActionScript 3.0 with Flex is cool. Tested with Monte Carlo algorithm.

I have not posted anything for along time because I am so busy.

By the way, after heard about new technology from Adobe and I have enough time to test. And I have tested it now. I write actionscript 3.0 in flex application to calculate pi value by Monte Carlo Method. I didn't use Flex Builder, but I used Flex SDK with FlashDevelop.

The result of testing is very cool. The calculation performed by actionscript 3.0 is very fast (let try it yourself with N around 1000000)


This is it. Let try => http://physica.thai.googlepages.com/MonteCarloAS3.swf
This is a source code => http://physica.thai.googlepages.com/MonteCarloAS3.mxml

Have Fun. :)

Physica

Saturday, November 04, 2006

Wolfram Tones

I have found this thing from the guy who view and leave comment at this blog. This cool thing name is Wolfram Tones. This is a tool that used to generate the unique style musics. You can generate your own musics at Wolfram Tones' site. This is my own musics ->

Click at the image to play the music.

The wolfram Tones are generated from the Mathematica algorithms. (Follow this link to see how it work) And Mathematica is also my favorite computational tool.

You can generate your own musics and save it to your computer. Is it cool ?
Don't forget to generate your own musics.


Monday, October 23, 2006

Statistical Mechanics Text Book - Free !!!

Today, I have found this cool book available from the author's site.

This is the link -> http://www.physics.cornell.edu/sethna/StatMech/
Let's check it as fast as possible !!! Don't forget to check another resources from this site. Because this site has another cool stuffs such as Java Applet, and Lecture notes.

Friday, October 20, 2006

Flag waving 3D Improved and Source Code

I have improve the equations, and add some features. This is it - >

Click at the image to view. (or click here)

I use some calculus and linear interpolation knowledge in this applet. This is source code

wavingflag.as



This is the source file (230.7 kB)

Feel free to use it.

All comments are welcomed.

Wednesday, October 18, 2006

3D Flag Waving Effect - BitmapData Experiment

I have just done the second experiment on BitmapData class in actionscript. You can't adjust anything because this is an experiment version. I will use it in some of my physics simulations. Principle behind this is basic physics and mathematics. I just make it move.

Click at the image to view the waving flag.

Is it cool? I will clean the code up and pose in this blog (may be in one or two days).