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*.
How it works
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.
The core is a mechanism that "advects large-scale particles on the GPU with a flow field". initParticles generates forty thousand particles, and applies a swappable compute GLSL shader (e.g. wrp = warp) under ./algos/ for 100 steps to update each particle's position along the flow. By accumulating its trajectory on the canvas, striations that drift like mist emerge. The source of the flow is a Perlin noise utility, and the smooth gradient field pushes the particles in a consistent direction. Because the algorithm names are externalised as files, the very rule of advection can be switched per edition, which is the design's subtlety. Depending on which shader is chosen and how the initial distribution and colouring are assigned, the expression of the screen changes greatly, from a quiet drift to a swirling turbulence.
Palette
#ffffff#abffbc#aaccff #383634#2c2a28#858483#989897#abaaa9#6b6a68#bdbdbc#4e4c4b Algorithms
- Flow Field / Vector Field primary · classification: LLM
- Particle System · classification: LLM
- Fragment Shader (GLSL) · classification: LLM
- Perlin / Simplex Noise · classification: LLM
Details
Sources
- IPFS 1p.infura-ipfs.io ↗
- Source verse.works ↗
Related works (by shared algorithms)
Last updated 2026-07-16