-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
34 lines (30 loc) · 747 Bytes
/
index.html
File metadata and controls
34 lines (30 loc) · 747 Bytes
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
26
27
28
29
30
31
32
33
34
<!doctype html>
<html>
<head>
<title>Fibonacci clock</title>
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" href="main.css">
<script type="text/javascript" src="main.js"></script>
</head>
<body>
<div id='clock'>
<div id='_2'></div>
<div id='_1a'></div>
<div id='_1b'></div>
<div id='_3'></div>
<div id='_5'></div>
</div>
<script type="text/javascript">
_1a = document.getElementById('_1a');
_1b = document.getElementById('_1b');
_2 = document.getElementById('_2');
_3 = document.getElementById('_3');
_5 = document.getElementById('_5');
fib = new FibonacciClock(_1a, _1b, _2, _3, _5);
fib.init();
fib.hoursRGB(0, 0, 204);
fib.minutesRGB(204, 0, 0);
fib.start();
</script>
</body>
</html>