p5 Complete
This commit is contained in:
commit
ec59a9b9aa
9 changed files with 395732 additions and 0 deletions
24
empty-example/index.html
Normal file
24
empty-example/index.html
Normal file
|
@ -0,0 +1,24 @@
|
|||
<!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.js"></script>
|
||||
<!-- <script src="../addons/p5.sound.js"></script> -->
|
||||
<script src="sketch.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<main>
|
||||
</main>
|
||||
</body>
|
||||
|
||||
</html>
|
7
empty-example/sketch.js
Normal file
7
empty-example/sketch.js
Normal file
|
@ -0,0 +1,7 @@
|
|||
function setup() {
|
||||
// put setup code here
|
||||
}
|
||||
|
||||
function draw() {
|
||||
// put drawing code here
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue