(x, y, seed)
| 1280 | } |
| 1281 | |
| 1282 | _hash(x, y, seed) { |
| 1283 | const n = Math.sin(x * 12.9898 + y * 78.233 + seed) * 43758.5453; |
| 1284 | return n - Math.floor(n); |
| 1285 | } |
| 1286 | |
| 1287 | _applyNoise(data, width, height, params, seed) { |
| 1288 | const intensity = params.intensity; |