Add first-local-server project
This commit is contained in:
parent
ec59a9b9aa
commit
68103ad538
2 changed files with 31 additions and 0 deletions
24
first-local-server/index.html
Normal file
24
first-local-server/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
first-local-server/sketch.js
Normal file
7
first-local-server/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