Skip to content

Instantly share code, notes, and snippets.

@mk30
Created May 11, 2017 18:25
Show Gist options
  • Save mk30/9be11b8fa39a5ae0528745167648ec59 to your computer and use it in GitHub Desktop.
Save mk30/9be11b8fa39a5ae0528745167648ec59 to your computer and use it in GitHub Desktop.
if (prows) {
var phex = pals[state.palette].hex
for (var i = 0; i < phex.length; i += 10) {
prows.push(phex.slice(i,i+10))
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment