Droppy — Liquid Diffusion & Coffee Ring Physics Simulator

A physics simulator where liquid drops fall, spread, and dry into coffee rings on a canvas. Real-time simulation of capillary absorption, surface tension, and paper-fiber irregularity via Perlin noise.

Tap or click the canvas to drop liquid onto paper. Watch it spread, absorb, and dry into a coffee ring — all driven by real-time physics.

Features

  • 4-stage physics — Collision spread → capillary absorption → surface tension → coffee-ring drying
  • 180-node polar boundary — Smooth droplet shape computed in real time
  • 2D Perlin noise — Simulates uneven water absorption across paper fibers
  • Auto drip — Drops fall every 1.5 s with random color, size, and volume
  • Random drop — Parameters shift every 2 s; tap repeatedly at any time
  • Tile mode — Generates seamless tile textures from the canvas
  • PNG export — Save the current canvas as an image

Physics Parameters

ParameterDescription
Drop diameterInitial size at impact (3–100 px)
VolumeDepth of capillary spread
Surface tensionForce pulling shape back to circular
ViscosityFriction brake on flow
Capillary pullForce drawing liquid inward from the boundary
Impact forceInitial spread strength right after landing
Fiber roughnessIrregularity of water absorption
Solute concentrationDarkness of the dried outer ring
Drying speedEvaporation rate

Color Palettes

TabContents
① Ink24 curated colors inspired by inks, watercolors, and dyes (6×4 grid)
② HSL12 hues × 3 lightness levels (deep / mid / light) + 6 grays = 42 colors (6×7 grid)

Other Settings

  • Paper type — Choose background from drawing paper, kraft paper, or notebook white
  • Background image — Load any image behind the canvas (cover / fit / drag to reposition)
  • Profile save — Store physics parameters and colors in localStorage; share via JSON export / import