Skip to content

Drop

A drop of radius rr falls at centre CC. Everything already on the water is pushed outward so that the area it occupies is conserved: a ring at distance ρ\rho from the centre moves to ρ2+r2\sqrt{\rho^2 + r^2}. The inverse lookup the shader evaluates, for points outside the new drop, is

Psrc=C+(P−C) 1−r2∥P−C∥2for ∥P−C∥≥r,P_{src} = C + (P - C)\,\sqrt{1 - \frac{r^2}{\lVert P - C \rVert^2}} \qquad \text{for } \lVert P - C \rVert \ge r ,

and for ∥P−C∥<r\lVert P - C \rVert < r the pass writes the new ink phase and the local radial coordinate directly — the fresh ink, not a lookup.

Six drops of radius r on each cluster, one per step — watch every earlier ring thin and spread as the next lands.open full size ↗
  • Exact and area-preserving. The map is a closed form; there is no step size and nothing to sub-step. The area displaced outward is exactly πr2\pi r^2, which is what makes concentric drops read as rings of equal area, thinner as they go out — the suminagashi look.
  • Strike → radius ∝ √velocity. Perceptual scaling: ink area tracks velocity, so a doubled velocity doubles the splash, not the diameter.
  • Ink phase in parity form. The texel stores ink=1+(counter mod 2)+radial∈[1,3)\text{ink} = 1 + (\text{counter} \bmod 2) + \text{radial} \in [1, 3), water = 0. Any two field values interpolate across at most one band threshold, so half-float filtering never speckles a seam however many drops fall. The hue selector rides in the fourth channel from the drop counter, which re-bases on every paper dip.

The crystal drop — habits (v3.0, libsumi 1.7.0)

Section titled “The crystal drop — habits (v3.0, libsumi 1.7.0)”

Write the same map in Hamilton’s action-angle coordinates about the centre, ρ=r2/2\rho = r^2/2 and θ\theta (so that dx∧dy=dρ∧dθdx \wedge dy = d\rho \wedge d\theta): the drop is the translation ρsrc=ρ−r2/2\rho_{src} = \rho - r^2/2, θsrc=θ\theta_{src} = \theta. Now let the radius depend on the angle — any profile R(θ)>0R(\theta) > 0:

ρsrc=ρ−12R(θ)2,θsrc=θ.\rho_{src} = \rho - \tfrac12 R(\theta)^2, \qquad \theta_{src} = \theta .

This is a kick generated by a function of the angle alone, V(θ)=R(θ)2/2V(\theta) = R(\theta)^2/2, so its Jacobian is (1−RR′01)\begin{pmatrix} 1 & -RR' \\ 0 & 1 \end{pmatrix} and det⁡J=1\det J = 1 exactly, for any shape, at any size — no sub-stepping, and each ray maps onto itself monotonically (rsrc=r2−R2r_{src} = \sqrt{r^2 - R^2} for r≥Rr \ge R), so the map is bijective for every star-shaped habit. That is the whole theorem; the shader evaluates R(θ)R(\theta) in place of rr and nothing else changes. The habit is drop_habit in the params — circle (the drop above, bitwise), the calcite cleavage rhomb (face angles 78.1° / 101.9°, the polar support form), the mica sheet’s hexagon, and the rosette of mm tabular blades, R=r0(1+βcos⁡8mθ)R = r_0(1 + \beta\cos^8 m\theta) — read at strike time in the note’s own frame (the pitch axis), so a held note keeps the habit it was struck with.

Three consequences follow for free. The interior ink phase is assigned from r/R(θ)r / R(\theta) rather than rr, so the rings inside a crystal drop are homothetic copies of its habit (gate: a rhomb’s half-way ring is the rhomb at half size within half a texel; the circle’s, fitted with the rhomb, misses by six). Growth is the same map: two habit drops of the same shape at one centre compose to one at r12+r22\sqrt{r_1^2 + r_2^2}, so the pressure feed grows a rhomb as a rhomb — the boundary stays the habit within a quarter texel over three hundred fed frames, the nominal radius growing linearly in the pressure integral as it always has. And the corners crease: where R′R' jumps, JJ jumps, and the bands outside the polygon carry a line along each vertex ray — invisible in Sumi, drawn by Kessho as a birefringence line that reads as cleavage. habit_roundness softens the support form’s maximum with a log-sum-exp and blends toward the circle (1 is the circle; 0 the sharp polygon, allowed). See the minerals.

  • Strike (Note On) on every layout — the drop at the note’s position, or at all three echo rows on Jankó.

  • Pressure feed (channel pressure with press_mode = 0, the default): while pressure > 0 the voice’s drop keeps growing. Because a centre expansion of radius rr moves an existing boundary RR only to R2+r2\sqrt{R^2 + r^2}, fixed steps would visibly stall; the voice tracks its nominal boundary RR and converts the wanted growth ΔR\Delta R into the emitted pass radius r=(R+ΔR)2−R2r = \sqrt{(R + \Delta R)^2 - R^2}. Same operator, physically meaningful growth rate, deliberately unbounded — sustained pressure can flood the sheet, which is the Osmose behaviour.

    Same operator, two behaviours. Top-left: a note re-struck five times — separate drops, rings. Bottom-right: one note held under channel pressure — one band whose boundary keeps growing, no new ring.open full size ↗

    The difference is the whole point of the feed: a re-struck note lays a new ring each time (new parity, new hue), while a held note grows the ring it already owns — the expansion is emitted at the voice’s own centre with the boundary-growth radius, so the band widens instead of multiplying.

  • Breath (wind mode) uses the same conversion but relaxes toward a breath-proportional width: a twenty-second legato line stays a line.

  • Marble mode: a tap or a click. And, since v0.6, the pressure gesture: a long press (Shift + right drag with a mouse) lays a drop and then feeds it — hold or push up and the band widens by the same boundary growth; the pass is sumi_add_drop with the FEED layer, whose interior inherits the band already under the centre instead of laying a new ring.

r is the drop radius in canvas heights; n is how many drops fall on each cluster in turn. In the feed scene v is the strike velocity (the initial radius), p the channel-pressure value held, t how many frames it is held. Every scene has ⏱, the frames between steps — set it to 0 for the result alone, raise it to watch the mathematics work.

midi-sink 2.0.0 · AGPL-3.0 · source