w2_2_p5js
This commit is contained in:
parent
91e4b30d1c
commit
08eb726a63
20
w2_2_p5js/index.html
Normal file
20
w2_2_p5js/index.html
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
|
||||||
|
<head>
|
||||||
|
<script src="js/p5.js"></script>
|
||||||
|
<script src="js/p5.dom.min.js"></script>
|
||||||
|
<script src="js/p5.sound.min.js"></script>
|
||||||
|
|
||||||
|
<script src="https://code.jquery.com/jquery-1.11.1.js"></script>
|
||||||
|
<script src="https://canvasjs.com/assets/script/canvasjs.min.js"></script>
|
||||||
|
|
||||||
|
<link rel="stylesheet" type="text/css" href="css/style.css" />
|
||||||
|
<meta charset="utf-8" />
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<script defer src="sketch.js"></script>
|
||||||
|
|
||||||
|
<body></body>
|
||||||
|
|
||||||
|
</html>
|
3
w2_2_p5js/js/p5.dom.min.js
vendored
Normal file
3
w2_2_p5js/js/p5.dom.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
90025
w2_2_p5js/js/p5.js
Normal file
90025
w2_2_p5js/js/p5.js
Normal file
File diff suppressed because one or more lines are too long
28
w2_2_p5js/js/p5.sound.min.js
vendored
Normal file
28
w2_2_p5js/js/p5.sound.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
9
w2_2_p5js/sketch.js
Normal file
9
w2_2_p5js/sketch.js
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
// Single-sketch example
|
||||||
|
|
||||||
|
function setup() {
|
||||||
|
createCanvas(800, 800);
|
||||||
|
}
|
||||||
|
|
||||||
|
function draw() {
|
||||||
|
background(120);
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user