Skip to content

Instantly share code, notes, and snippets.

@gabrielflorit
Created January 11, 2019 05:49
Show Gist options
  • Save gabrielflorit/2dbc9ede5937abb48e2b07ef86c795a9 to your computer and use it in GitHub Desktop.
Save gabrielflorit/2dbc9ede5937abb48e2b07ef86c795a9 to your computer and use it in GitHub Desktop.
SCRIPT-8
initialState = {
actors: [
]
}
update = (state, input, elapsed) => {
}
drawActors = (state, fade) => {
state.actors.forEach(actor => {
})
}
draw = state => {
clear()
rectStroke(0, 0, 128, 128, 5)
print(34, 61, "eleanor is great!", 0)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment