Drift

Paolo Čerić · 2023

Sample output of Drift

Particle systems have always held a special place in my heart. The inherent simplicity of each particle and the complexity of what emerges is a theme I have always enjoyed exploring. \ With *Drift*, I continue this exploration and delve deeper into the intricacies of one such system, to see what emotions it can evoke. To export a PNG, I recommend adding a size parameter to the query string, such as &size=4000 to define the longer size, and then pressing 's' after the rendering is complete. Also, please check the console for rendering and saving information. The piece is computationally expensive and requires an adequate GPU. It is important to understand that due to the complexity of the simulation, the result may look different across different devices. This variation is primarily due to the different capabilities of each device's GPU. Therefore, the uniqueness of each viewing experience is not only a product of the hash but also the inherent unpredictability and variation in hardware capabilities. Please be mindful of this while enjoying *Drift*.

仕組み

40000 particles advected over 100 steps by interchangeable compute GLSL shaders (./algos/${shader}.glsl, e.g. 'wrp') accumulated onto the canvas, with a Perlin noise util.

核は「GPU上の大規模パーティクルを流れ場で移流させる」仕組みです。initParticles で4万個の粒子を生成し、./algos/ 配下の差し替え可能なコンピュート用GLSLシェーダ(例:wrp=ワープ)を100ステップ適用して、各粒子の位置を流れに沿って更新します。その軌跡をキャンバスに累積描画することで、霧のように漂う筋目が浮かび上がります。 流れの元になるのはパーリンノイズのユーティリティで、滑らかな勾配場が粒子を一定方向へ押し流します。アルゴリズム名がファイルとして外部化されているため、移流の規則そのものをエディションごとに切り替えられるのが設計上の妙です。どのシェーダが選ばれ、初期分布や配色がどう振られるかによって、静かな漂流から渦巻く乱流まで、画面の表情が大きく変わります。

パレット

ジェネレーターのスクリプトから · 3
#ffffff#abffbc#aaccff
出力から抽出 · 8
#383634#2c2a28#858483#989897#abaaa9#6b6a68#bdbdbc#4e4c4b

アルゴリズム

詳細

ランタイム
Browser (WebGL / GLSL)
ムーブメント
Long-form Generative Art
メディア
Real-time software
関連
released-on → verse
オンチェーン
ethereum · 0x3a476c1f8cefb29360e02f19ebb579632eb3287b

出典

関連作品 (共有するアルゴリズムによる)

Blooms
cory-haber · 2024
Cytographia
golan-levin · 2024
Exstasis
grant-oesterling · 2023
Flows
ryley-o-eth · 2023
Life and Love and Nothing
nat-sarkissian · 2023
Longing
phenomena · 2023
Lumina
distcollective · 2023
Nära
tengil · 2023

最終更新 2026-07-16