Last active
August 21, 2019 00:03
-
-
Save hiorws/9a32e266c787044aed614de622a807b2 to your computer and use it in GitHub Desktop.
p5.js empty template
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang=""> | |
<head> | |
<meta charset="utf-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<title>p5.js example</title> | |
<style> body {padding: 0; margin: 0;} </style> | |
<script src="p5.min.js"></script> | |
<!-- <script src="../addons/p5.dom.min.js"></script> --> | |
<!-- <script src="../addons/p5.sound.min.js"></script> --> | |
<script src="sketch.js"></script> | |
</head> | |
<body> | |
</body> | |
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function setup() { | |
let canvas = createCanvas(900, 900); | |
} | |
function draw() { | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment