41 lines
864 B
HTML
41 lines
864 B
HTML
<!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;
|
|
}
|
|
|
|
p {
|
|
color: white;
|
|
}
|
|
|
|
footer {
|
|
position: absolute;
|
|
bottom: 10px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<p id="inst">Use your mouse to create a simple, closed polygon.</p>
|
|
|
|
<footer>
|
|
<a href="about.html">How it works</a>
|
|
</footer>
|
|
</body>
|
|
</html> |