initial commit

This commit is contained in:
2024-10-17 17:46:45 +09:00
commit bb55c09413
3 changed files with 29 additions and 0 deletions

15
index.html Normal file
View File

@@ -0,0 +1,15 @@
<!DOCTYPE html>
<html lang="en">
<head>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.10.0/p5.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/1.10.0/addons/p5.sound.min.js"></script>
<link rel="stylesheet" type="text/css" href="style.css">
<meta charset="utf-8" />
</head>
<body>
<main>
</main>
<script src="sketch.js"></script>
</body>
</html>

7
sketch.js Normal file
View File

@@ -0,0 +1,7 @@
function setup() {
createCanvas(400, 400);
}
function draw() {
background(128);
}

7
style.css Normal file
View File

@@ -0,0 +1,7 @@
html, body {
margin: 0;
padding: 0;
}
canvas {
display: block;
}