#!/usr/bin/env python3 """Jitter wax density per cell so neighbouring cells pick different sprite frames — without it, equal-density cells draw the identical blob and the field reads as a regular grid.""" import os, struct, glob, random for i, m in enumerate(sorted(glob.glob(os.path.join(os.path.dirname(__file__), '..', 'mods', 'vinylgod', 'maps', '*')))): p = os.path.join(m, 'map.bin') if not os.path.exists(p): continue d = bytearray(open(p, 'rb').read()) w, h = struct.unpack_from('