FUJILOG

見た、聴いた、触れたこと。 動かしたもの、書いたもの。 ウェブとリアルの備忘録です。

necessary libraries for "source_particles"

processing blog で気になった記事、"flight404"。。

この記事のソース「source_particles」を動かしたくて、ソース見ていました。


下記、必要なライブラリの参照元。。
元記事のページでは、リンク切れを起こしていたりしたので備忘録です。。


で、上2つのライブラリを processing 直下の libraries に置いてあげたら、動きました。















冬の花火みたいで綺麗です。。

さらには、キー操作に伴い、アクションが変わるインタラクティブ性も実装されていました。。



















どのキーを押すと、どのアクションが起きるかは下の記述通り。。

‘P’ will toggle a Perlin Noise influence to the Particle velocity.
‘G’ will add a gravity influence to the Particle velocity.
‘F’ will toggle on an invisible floor allowing the Particles to bounce.
‘T’ will toggle the rendering of a Particle trail.

‘N’ will toggle the smoke effect (nebula).
‘S’ will toggle the saving out of images, one per loop.


触ってみたいと思わせられるアプリで、とてもいい作品ですね。