This commit is contained in:
Yannick 2025-04-16 16:40:50 +02:00
commit 00f2179801
6 changed files with 138 additions and 0 deletions

48
index.html Normal file
View file

@ -0,0 +1,48 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Sketch</title>
<link rel="stylesheet" type="text/css" href="style.css" />
<script src="libraries/p5.min.js"></script>
<script src="libraries/p5.sound.min.js"></script>
<style>
p {
color: white
}
body {
background-color: black;
}
#sketch {
display: flex;
height: 100vh;
}
#defaultCanvas0 {
border: solid white 1px;
width: auto;
align-content: center;
margin: auto auto;
}
html,
body {
margin: 0;
padding: 0;
}
canvas {
display: block;
}
</style>
</head>
<body>
<div id="sketch">
</div>
<script src="sketch.js"></script>
</body>
</html>