Skip to content

Instantly share code, notes, and snippets.

@deleteman
Created January 7, 2023 08:36
Show Gist options
  • Save deleteman/db7941d85e888bbfe6931b280cc8cf1d to your computer and use it in GitHub Desktop.
Save deleteman/db7941d85e888bbfe6931b280cc8cf1d to your computer and use it in GitHub Desktop.
function printImage(network) {
for(let y = 0; y < 6; y++) {
let row = []
for(let x = 0; x < 8; x++) {
row.push(Math.round(network.activate([x,y]) ))
}
console.log(row.join(","))
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment