Skip to content

Instantly share code, notes, and snippets.

@pomle
Created October 21, 2017 01:05
Show Gist options
  • Save pomle/9612296485d4adee7720dba9c2b18f09 to your computer and use it in GitHub Desktop.
Save pomle/9612296485d4adee7720dba9c2b18f09 to your computer and use it in GitHub Desktop.
<!DOCTYPE html>
<html>
<head>
<script src="p5.js"></script>
<script type="module">
function setup() {
console.log('setup');
}
function draw() {
console.log('draw');
}
window.setup = setup;
window.draw = draw;
</script>
<title></title>
</head>
<body>
</body>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment