TypologySienna Chen
MotionHeavyweight · 10 uses

Particles

Many small marks acting as one: sparks, dust, halftone dots, type.

Many small marks that together draw something: sparks, snow, dust, confetti, or a grid of dots whose size prints an image. What makes a system look designed is how each particle changes over its life, and what moves it: an emitter, a field, a shape, a cursor. On the graphics card, millions are possible; in Canvas 2D, ten thousand if the drawing is batched.

Uses · 10Pick one to run it on the left

  1. Prompt
    A Canvas 2D halftone field, no WebGL. A grid of dots every 7 px with odd rows offset by half a cell. Each frame every dot samples an amplitude in 0–1 and draws a circle of radius 0.2 + amp × 1.8 px, times a fixed per-dot jitter of 0.65–1.0 from a sin-fract hash of its column and row, so the grid never looks mechanical. The amplitude is an image: a ball lit from the pointer’s direction (bigger dots where it is darker), textured with a domain-warped sum of four slow sine waves. Skip dots under 0.012. Batch the drawing into about 16 color buckets, one path and one fill per bucket, never one fillStyle per dot. Size the canvas to devicePixelRatio, pause when off-screen, and render one still frame under prefers-reduced-motion.

    Learned from halftone-animation by atom63.

  2. Prompt
    On a halftone dot grid, add carrier particles that are never drawn themselves: 30 Gaussian blobs, each with an angle, a start and end radius, a size and a life from 0 to 1. Three families: rim blobs that drift in from radius 0.5 to the outer ring, core blobs that travel from the centre out to it, and small halo specks that fall from the edge into the core with an ease-in (r = start × (1 − p³) + end × p³). Each wobbles its angle by a sine that dies away as it ages and swells with an envelope sin(πp)^1.4. A dot’s brightness is the max of exp(−d² / 2σ²) over the blobs within 3σ; cull by bounding box first. When a life ends, respawn with a new random angle. It should read as light moving under a printed screen.

    Learned from halftone-animation by atom63.

  3. Prompt
    An entry animation for a dot field, 3.3 s on an ease-out-quart clock. Phase 1: a perfect ring of dots expands to 80% radius (ease-out cubic), holds, then collapses (ease-in cubic); only dots within a narrow band of the ring draw. Phase 2: a blast from the centre whose radius is warped by three sine harmonics of the angle plus a stepped, hash-based shard offset, so the front breaks like glass, with a softer rebound ring trailing it. Phase 3: the real layers arrive by dithering: every dot has a stable hash h, and a layer shows at that dot only once h is below the layer’s reveal progress (core first, then the rings, the trail, the carriers, the shapes, each on its own smoothstep window). Add a Replay button; under reduced motion, jump straight to the settled frame.

    Learned from halftone-animation by atom63.

  4. Prompt
    Make a dot field answer the cursor like water. Keep two lists: trail points (pointer samples, 1.2 s life, weight fading with age² and growing with recency) and ripple origins (a new one every 9 px of movement or every 48 ms, at most 36). Once per frame, bake each ripple: radius = age × 0.28 × width, a second ring 72 ms behind it, fade exp(−age × 0.95). Per dot: smoothstep of the summed Gaussian trail splats, plus 0.38 × the summed Gaussian rings around each radius (skip ripples further than 6σ). Draw those dots in a separate accent color, their size modulated by a slow noise so the trail edge looks organic, on top of the base dots.

    Learned from halftone-animation by atom63.

  5. Prompt
    Draw outlines made of halftone dots. Place shapes on a golden-angle sunflower (angle = i × 137.5°, radius proportional to √((i+1)/(n+1))) with a slow sine drift. Each has a 2D signed distance function (square, circle, equilateral triangle) and a life from 0 to 1 split into: pop in with a damped overshoot, hold, morph to a second shape by lerping the two distances with a bouncy ease, hold, shrink with 1 − t². A dot lights by exp(−e² / 2σ²) where e = |mix(dA, dB, morph)|, so each shape is a ring of dots exactly on its zero line. When a life ends, pick two new shapes.

    Learned from halftone-animation by atom63.

  6. Prompt
    Two orbital rings on a dot field, at radius 0.32 and 0.48 of the short side, each about one dot wide. Brightness across the band follows a sine fade; along it, three angular sine waves at different frequencies and speeds. Add runners: a Gaussian in angle (σ ≈ 0.12 rad) centred on an angle that advances with time, wrapped so it crosses 2π cleanly; the outer ring has two, going opposite ways. It should read like data orbiting a planet.

    Learned from halftone-animation by atom63.

  7. Prompt
    A planet core for a dot field. Inside a disc that breathes ±4.5% (sin(1.1t) × cos(0.7t)), brightness = 0.72 × a Voronoi plate value + 0.28 × warped sine noise. The plates: a jittered 3×3 Voronoi lookup where every cell returns one hashed constant, so you get flat continents with hard borders; multiply by 0.66 + 0.34 × the noise for print grain. Scroll the coordinates slowly (0.48, −0.32 per second) so the continents drift across the disc, smoothstep for contrast, and fade toward the rim with (1 − r/R)^0.35.

    Learned from halftone-animation by atom63.

  8. Prompt
    Three.js Points with 8,000 particles in a ring buffer of typed arrays: spawn 300/s at the pointer’s world position (unprojected onto z = 0), initial velocity in a cone (spread 25°) with speed 0.8–1.6, gravity −1.2, drag 0.985, lifetime 1.2–2.4 s. Over life: size 6 → 1 px × DPR, color from yolk to ink, alpha 1 → 0 with an ease-in. Update only the alive range; upload with BufferAttribute.updateRange (addUpdateRange) each frame. Additive blending, depthWrite false.
  9. Prompt
    Rasterize a word to an offscreen canvas and sample about 5,000 filled pixels as targets; start the particles scattered off-screen. Each one springs to its target (stiffness 0.06, damping 0.86) after a delay taken from its x position, so the word assembles left to right. Within 90 px of the pointer, particles are pushed away by a force falling off with distance², then drift home. Draw them as 1.5 px squares in two batched fills: the ones still travelling in the accent color, the settled ones in ink. Re-sample on resize and whenever the word changes.
  10. Prompt
    2,000 particles advected by the curl of a 2D simplex noise field (scale 0.004, drifting slowly with time), each drawn as a line segment from its previous position. Instead of clearing, fade the canvas toward the background by 6% per frame so trails persist. Respawn a particle at a random point after 2–5 s or when it leaves the screen. Explain in a comment why the curl of a scalar field is divergence-free, and why that keeps the density even.
Breaks when
CPU particles cap around 10kadditive blending needs depthWrite offone fillStyle per dot stalls Canvas 2D; batch by color
Also called
particle systems, emitter, GPU particles, dot field, three.quarks

More prompts

Sprite sheet particles
Particle system using a 4×4 sprite-sheet texture (smoke puffs) and a custom ShaderMaterial: each particle gets a frame from its age, rotates slowly by a per-particle random, and is soft-depth-tested against the scene depth (soft particles). Show 3,000 puffs rising from a floor emitter with turbulence from 3D noise.
GPU particles with three.quarks
Use three.quarks to build a burst emitter: 2,000 particles per burst every 1.5 s, sphere emission shape, size over life as a Bézier curve, color over life as a 3-stop gradient, and a velocity-aligned stretched billboard. Export the configuration as JSON so a designer can edit it in the quarks editor.
Every constant on a dial
Take this particle piece and expose every tuning constant in a live panel (lil-gui, Tweakpane or DialKit), grouped by layer: grid, structure, carriers, shapes, trail, intro. Each control gets a sensible range and step. Add Replay (restart the intro, keep the values) and Reset (restore every default). Keep the constants in one file so the panel and the code read from the same place.

Related

Resources · 4

  • halftone-animationA Canvas 2D halftone dot field: shockwave intro, carrier blobs, SDF shapes in dots, cursor ripples, a dial for every constant. MIT.atom63GitHub · code · demoOct 4, 2026
  • halftone.atom63.ioThe live demo. Open the dial at the bottom right and push every slider; Replay restarts the intro.atom63site · demoOct 4, 2026
  • three.js example: WebGPU compute particlesA million particles via TSL compute; the WebGPU starting point.mrdoobsite · code · demoAug 8, 2026
  • three.quarks particle systemAlchemist0823GitHub · code · demoMay 30, 2026