p5js-experiments/hello-mouse/index.html
Eryn Wells dfb0cad2c4 Add Hello Mouse
This sketch draws a bunch of short line segments that move and change
color according to their distance and orientation to the mouse cursor.
2022-01-24 07:55:41 -08:00

26 lines
No EOL
469 B
HTML

<!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 auto;
width: 800px;
}
</style>
<script src="../p5.js"></script>
<!-- <script src="../addons/p5.sound.js"></script> -->
<script src="sketch.js"></script>
</head>
<body>
<h1>Hello Mouse!</h1>
<main>
</main>
</body>
</html>