I have fixed this source code for linux. Original code is http://www.purple.dti.ne.jp/~t-ogura/animeEffect.
下から選んでください: