/// Identicon grid generation.
////// The hash determines the grid. Each even byte is an active square.
pubfngenerate_full_grid<T:Into<u32>>(image_size: T, hash:&[u8])->Vec<bool>{// Compute the hash value
let square_count =(image_size.into()asusize).pow(2);(0..square_count).map(|location|hash[location % hash.len()].is_multiple_of(2)).collect()}