.5;
      const y = rand(H*0.15, H*0.65);
      const speed = rand(40, 95) * DPR;
      const dir = fromLeft ? 1 : -1;
      const x = fromLeft ? -120*DPR : W + 120*DPR;
      const scale = rand(0.6,1.1);
      planes.push({ x, y, vx: dir*speed, dir, bob: rand(4,12)*DPR, phase: rand(0,Math.PI*2), scale, trail: [] });
    }
    let nextPlaneTime = 0;

    function drawPlane(pl, t, dt){
      const wob = Math.sin(t*0.003 + pl.phase) * pl.bob;
      const x = pl.x; const y = pl.y + wob;
      const s = 0.6 * p