Skip to content

Instantly share code, notes, and snippets.

@desandro
Last active January 28, 2019 21:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save desandro/345d3b9debd78b1c59becc9aa4b49190 to your computer and use it in GitHub Desktop.
Save desandro/345d3b9debd78b1c59becc9aa4b49190 to your computer and use it in GitHub Desktop.
SCRIPT-8
draw = () => {
clear()
range(8).forEach(i => {
const width = 8 * i
const height = 8 * i
const x = 64 - width / 2
const y = 64 - height / 2
rectStroke(x, y, width, height)
})
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment