-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
55 lines (48 loc) · 2.05 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
50
51
52
53
54
<!DOCTYPE html>
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<meta content="width=device-width, initial-scale=1" name="viewport">
<title>Numberphilephile - Prime Spirals</title>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/semantic.min.css" rel="stylesheet" type="text/css">
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/semantic.min.js"></script>
<link href="main.css" rel="stylesheet">
<script src="primes.js"></script>
</head>
<body onload="spiral.init()">
<div class="ui raised container">
<div class="ui centered grid">
<div class="three wide column">
<div class="ui center aligned inverted raised segment">
<h4 class="ui inverted orange header">
<a href="https://www.youtube.com/watch?v=iFuR97YcSLM" target="_blank"
title="Youtube Numberphile video of Prime spirals">
Watch Video
</a>
</h4>
</div>
<div class="ui center aligned inverted raised segment">
<h4 class="ui inverted orange header">
Scroll over grid to interact
</h4>
<div class="ui inverted indicating progress" data-total="20" data-value="5" id="scroll-progress">
<div class="bar">
<div class="progress"></div>
</div>
<div class="label">Scroll Progress</div>
</div>
</div>
<div class="ui center aligned inverted raised segment">
<h4 class="ui inverted red header">
Note: If there is a lag while scrolling, it is because of rendering and not calculating primes
</h4>
</div>
</div>
<div class="eleven wide column">
<div id="root"></div>
</div>
</div>
</div>
</body>
</html>