(a: number)
| 36 | |
| 37 | // Yoinked from https://github.com/remotion-dev/remotion/blob/main/packages/core/src/random.ts |
| 38 | function mulberry32(a: number) { |
| 39 | let t = a + 0x6d2b79f5; |
| 40 | t = Math.imul(t ^ (t >>> 15), t | 1); |
| 41 | t ^= t + Math.imul(t ^ (t >>> 7), t | 61); |
| 42 | return ((t ^ (t >>> 14)) >>> 0) / 4294967296; |
| 43 | } |
| 44 | |
| 45 | function hashCode(str: string) { |
| 46 | let i = 0; |