-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
80 lines (61 loc) · 3.71 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<!DOCTYPE html>
<html>
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen">
<link rel="stylesheet" type="text/css" href="stylesheets/pygment_trac.css" media="screen">
<link rel="stylesheet" type="text/css" href="stylesheets/print.css" media="print">
<title>Phi - compute it yourself</title>
<script src="http://peterolson.github.com/BigInteger.js/BigInteger.min.js"></script>
<style type="text/css">
</style>
</head>
<body>
<header>
<div class="container">
<h1>Phi</h1>
<h2>just compute phi</h2>
<section id="downloads">
<a data-count-api="/repos/CS1000/phi#subscribers_count" data-count-href="/CS1000/phi/watchers" data-style="mega" data-icon="octicon-eye" href="https://github.com/CS1000/phi" class="github-button">Watch</a>
<a data-count-api="/repos/CS1000/phi#stargazers_count" data-count-href="/CS1000/phi/stargazers" data-style="mega" data-icon="octicon-star" href="https://github.com/CS1000/phi" class="github-button">Star</a>
<a data-count-api="/users/CS1000#followers" data-count-href="/CS1000/followers" data-style="mega" href="https://github.com/CS1000" class="github-button">Follow @CS1000</a>
<!-- <a href="https://github.com/CS1000/phi/zipball/master" class="btn">Download as .zip</a> -->
<!-- <a href="https://github.com/CS1000/phi/tarball/master" class="btn">Download as .tar.gz</a> -->
<!-- <a href="https://github.com/CS1000/phi" class="btn btn-github"><span class="icon"></span>View on GitHub</a> -->
</section>
<script async defer id="github-bjs" src="https://buttons.github.io/buttons.js"></script>
</div>
</header>
<div class="container">
<section id="main_content">
<h3>Phi "The Golden Ratio" - φ</h3>
<p id="content">ready...</p>
<pre><code id="tty0">$ Ctrl + C
</code></pre>
<script src="javascripts/main.js"></script>
<h3>Q & A</h3>
<li>What is this?</li>
<p>Read here: <a href="http://en.wikipedia.org/wiki/Golden_ratio">wikipedia.org/wiki/Golden_ratio</a></p>
<li>Why did you make this?</li>
<p>As an homage for <a href="http://en.wikipedia.org/wiki/Pi_Day">π day</a> 3.14'15 (Phi's close cousin)</p>
<li>How does this work?</li>
<p>The <a href="http://en.wikipedia.org/wiki/Fibonacci_number">Fibonacci Sequence</a> is computed over and over, at each cycle the last two values in the sequence are divided and result in a closer <em>approximation</em> of the Golden Ratio.</p>
<li>But this seems inefficient, aren't there better ways?</li>
<p>Probably, but give your CPU a burn-in test just in case.</p>
<li>Why is there a 5ms delay in the code?</li>
<p>Breath of fresh air. It won't matter in a few short cycles anyway, unless you're on a supercomputer, well... are you?</p>
<li>My machine spit a whole page of digits in under 1 min!</li>
<p>No shit!</p>
<li>Easter Eggs</li>
<p>yes</p>
<hr><br>
<iframe width="560" height="315" src="https://www.youtube.com/embed/kkGeOWYOFoA?rel=0&controls=0" frameborder="0" allowfullscreen></iframe>
<h3>Support or Contact</h3>
<p><a data-count-api="/repos/CS1000/phi#open_issues_count" data-style="mega" data-icon="octicon-issue-opened" href="https://github.com/CS1000/phi/issues" class="github-button">Issue</a></p>
<p>Licensed into the <a href="https://github.com/CS1000/phi/blob/master/LICENSE">Public Domain</a></p>
<p>♥ goes to <a href="https://github.com/peterolson/">@peterolson</a> for <a href="https://github.com/peterolson/BigInteger.js">BigInteger.JS</a> (also public domain)</p>
</section>
</div>
</body>
</html>