Drift
Paolo Čerić · 2023
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ステップ適用して、各粒子の位置を流れに沿って更新します。その軌跡をキャンバスに累積描画することで、霧のように漂う筋目が浮かび上がります。 流れの元になるのはパーリンノイズのユーティリティで、滑らかな勾配場が粒子を一定方向へ押し流します。アルゴリズム名がファイルとして外部化されているため、移流の規則そのものをエディションごとに切り替えられるのが設計上の妙です。どのシェーダが選ばれ、初期分布や配色がどう振られるかによって、静かな漂流から渦巻く乱流まで、画面の表情が大きく変わります。
パレット
#ffffff#abffbc#aaccff #383634#2c2a28#858483#989897#abaaa9#6b6a68#bdbdbc#4e4c4b アルゴリズム
- Flow Field / Vector Field 主 · 分類: LLM
- Particle System · 分類: LLM
- Fragment Shader (GLSL) · 分類: LLM
- Perlin / Simplex Noise · 分類: LLM
詳細
出典
- IPFS 1p.infura-ipfs.io ↗
- Source verse.works ↗
関連作品 (共有するアルゴリズムによる)
最終更新 2026-07-16