Skip to content

Instantly share code, notes, and snippets.

@pyfisch
Created February 2, 2019 18:56
Show Gist options
  • Save pyfisch/00ef439f01168ae8911ea20fe8bb6258 to your computer and use it in GitHub Desktop.
Save pyfisch/00ef439f01168ae8911ea20fe8bb6258 to your computer and use it in GitHub Desktop.
SCRIPT-8
state = {
x: 0,
y: 112,
}
draw = (state) => {
clear();
const { x } = state;
rectFill(x, 10, 10, 10, 2);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment