Added pendulum

This commit is contained in:
Robert 2021-03-09 17:34:33 +01:00
parent 0aabdb7d84
commit db5d25c370
2 changed files with 293 additions and 0 deletions

27
pendulum/index.html Normal file
View file

@ -0,0 +1,27 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pendulum</title>
<script src="https://cdn.jsdelivr.net/npm/p5@1.2.0/lib/p5.js"></script>
<script src="main.js"></script>
<style>
body {
background-color: black;
}
canvas {
display: blocK;
margin-left: auto;
margin-right: auto;
}
</style>
</head>
<body>
</body>
</html>