ルギア君の戯言

雑多な記事。

アメ〜バ〜

Paranormal Visualization Studio という Audacious の視覚エフェクトプラグインを利用してアメーバを作ってみた。
f:id:lugia:20100102191329p:image

<?xml version="1.0"?>

<paranormal_preset>
 <container_simple>
  <container_once>
   <cmap_dynamic>
    <low_index> 0 </low_index>
    <high_index> 255 </high_index>
    <script> red = red - 0.01; blue = blue - red; green = green - blue; </script>
   </cmap_dynamic>
  </container_once>
  <general_fade>
   <amount> 0 </amount>
  </general_fade>
  <xform_movement>
   <formula> r = cos(d * r) - 1; d = d * sin(d);x  </formula>
   <polar> FALSE </polar>
  </xform_movement>
  <general_blur>
  </general_blur>
  <wave_scope>
   <init_script> n = 800; t = -0.01; </init_script>
   <frame_script> t = t + 0.01; </frame_script>
   <sample_script> d = value; r = t + index * 4 * 3.1415926535; x = value * sin(r); y = value * cos(r); </sample_script>
   <lines> TRUE </lines>
  </wave_scope>
 </container_simple>
</paranormal_preset>

でもバグってる気がするんだが気のせい?