-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
49 lines (37 loc) · 2.64 KB
/
index.html
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Vetinari Clock Simulator</title>
<meta name="author" content="Rory O’Kane">
<link rel="stylesheet" href="styles.css">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<header>
<h1>Vetinari Clock Simulator</h1>
<div class="author">programmed by <a href="https://roryokane.com/">Rory O’Kane</a></div>
</header>
<p>Play a distractingly irregular tick-tock sound that mimics Vetinari’s clock from Terry Pratchett’s <a href="https://en.wikipedia.org/wiki/Discworld"><i>Discworld</i></a> series.</p>
<div class="control-buttons">
<input type="button" id="start-ticking" value="Start Ticking" />
<input type="button" id="stop-ticking" value="Stop Ticking" disabled="disabled" />
</div>
<p>You can <a href="https://github.com/roryokane/vetinari-clock-simulator/blob/gh-pages/README.md#vetinari-clock-simulator">read more about this project</a> and <a href="https://github.com/roryokane/vetinari-clock-simulator">see its source code</a> on GitHub.</p>
<p class="slow-warning"><strong>Warning:</strong> ticking may sound excessively irregular on slow devices.</p>
<div class="book-quotes">
<blockquote>
The clock in Lord Vetinari’s anteroom didn’t tick right. Sometimes the tick was just a fraction late, sometimes the tock was early. Occasionally, one or the other didn’t happen at all. This wasn’t really noticeable until you’d been in there for five minutes, by which time small but significant parts of the brain were going crazy.
</blockquote>
<p>—<cite><i>Going Postal</i> by Terry Pratchett, page 321</cite></p>
<blockquote>
Someone very clever—certainly someone much cleverer than whoever had trained that imp—must have made the clock for the Patrician’s waiting room. It went tick-tock like any other clock. But somehow, and against all usual horological practice, the tick and the tock were irregular. Tick tock tick…and then the merest fraction of a second longer before…tock tick tock…and then a tick a fraction of a second earlier than the mind’s ear was now prepared for. The effect was enough, after ten minutes, to reduce the thinking processes of even the best-prepared to a sort of porridge. The Patrician must have paid the clockmaker quite highly.
</blockquote>
<p>—<cite><i>Feet of Clay</i> by Terry Pratchett, page 91</cite></p>
</div>
<script src="scripts/vendor/jquery-3.4.1.min.js"></script>
<script src="scripts/vendor/lodash.min.js"></script>
<script src="scripts/vendor/howler.core.min.js"></script>
<script src="scripts/main.js"></script>
</body>
</html>