[Low] normalizeAsset seed uses only first char of ID (6 variations) #54
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
File: data.jsx:79
Severity: Low
seed: a.id ? a.id.charCodeAt(0) % 6 : 1
Only 6 possible seeds because only the first character of the UUID is used. Assets with IDs starting with the same character get identical faux-frame/waveform randomization.
Fix: Use a proper hash (sum of all char codes) or at least multiple characters.