UNPKG

@hydroperx/tiles

Version:
7 lines (6 loc) 177 B
export function hex() { return Math.floor(Math.random() * 1048575).toString(16); } export function hexLarge() { return [0, 0, 0, 0, 0, 0, 0].map(_ => hex()).join(""); }