blob: f9e115151c65fc8f66ff1448ec9bdb0b269a1a06 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
<html>
<head>
<title>Harmonograph</title>
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<link rel="stylesheet" href="css/style.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
</head>
<body>
<div id="navbar"></div>
<script src="navbar.js"></script>
<h2>Harmonograph</h2>
<button onclick="start();">Start</button><br>
<button onclick="saveCanvas();">Save image</button><br>
<button onclick="addPendulum();">Add pendulum</button>
<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.5.2/p5.js"></script>
<script src="js/Harmonograph.js"></script>
</body>
</html>
|