circular-mirror 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +16 -159
- package/js/main.js +112 -103
- package/package.json +20 -4
- package/CONTRIBUTING.md +0 -66
- package/DOCUMENTATION.md +0 -164
- package/css/README.md +0 -1
- package/css/bg.png +0 -0
- package/css/bg2.png +0 -0
- package/css/caiuss.min.css +0 -4
- package/css/octicons/LICENSE.txt +0 -9
- package/css/octicons/octicons-local.ttf +0 -0
- package/css/octicons/octicons.css +0 -235
- package/css/octicons/octicons.eot +0 -0
- package/css/octicons/octicons.less +0 -233
- package/css/octicons/octicons.svg +0 -198
- package/css/octicons/octicons.ttf +0 -0
- package/css/octicons/octicons.woff +0 -0
- package/css/octicons/sprockets-octicons.scss +0 -230
- package/css/style.css +0 -16
- package/index.html +0 -46
- package/js/jquery-1.8.3.min.js +0 -9343
- package/js/jquery.min.js +0 -2628
- package/theory +0 -105
package/css/style.css
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
@import url("caiuss.min.css");
|
|
2
|
-
@import url("octicons/octicons.css");
|
|
3
|
-
|
|
4
|
-
.modal p { color: black; }
|
|
5
|
-
body { background-image: url("./bg.png"); }
|
|
6
|
-
|
|
7
|
-
#myCanvas {
|
|
8
|
-
background: white;
|
|
9
|
-
border: 1px solid rgba(0, 0, 0, 0.17);
|
|
10
|
-
box-shadow: 0 0 2px rgba(0, 0, 0, 0.19);
|
|
11
|
-
border-radius: 4px;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
header, footer {
|
|
15
|
-
background-image: url("./bg2.png");
|
|
16
|
-
}
|
package/index.html
DELETED
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
<!DOCTYPE html>
|
|
2
|
-
<html>
|
|
3
|
-
<head>
|
|
4
|
-
<title>Reflections into a circular mirror</title>
|
|
5
|
-
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
6
|
-
<script src="js/jquery-1.8.3.min.js"></script>
|
|
7
|
-
<script src="js/main.js"></script>
|
|
8
|
-
<link href="css/style.css" rel="stylesheet" />
|
|
9
|
-
</head>
|
|
10
|
-
<body data-lang="en">
|
|
11
|
-
<header class="bg-black pad-xl text-center">
|
|
12
|
-
<div class="container">
|
|
13
|
-
<h1>Multiple reflections into a circular mirror</h1>
|
|
14
|
-
<p>Browse <a href="http://github.com/PhysicsProjects/circular-mirror">the code on <span class="octicon octicon-mark-github"></span> GitHub.</a></p>
|
|
15
|
-
</div>
|
|
16
|
-
</header>
|
|
17
|
-
<article class="text-center pad-xl">
|
|
18
|
-
<div class="container">
|
|
19
|
-
<div class="pad-l">
|
|
20
|
-
<button id="resetButton" class="btn bg-yellow">
|
|
21
|
-
<span class="octicon octicon-trashcan"></span>
|
|
22
|
-
Clear
|
|
23
|
-
</button>
|
|
24
|
-
|
|
25
|
-
<button id="drawButton" class="btn bg-blue">
|
|
26
|
-
<span class="octicon octicon-paintcan"></span>
|
|
27
|
-
Draw
|
|
28
|
-
</button>
|
|
29
|
-
|
|
30
|
-
<button class="btn bg-green btn-download">
|
|
31
|
-
<span class="octicon octicon-cloud-download"></span>
|
|
32
|
-
Download
|
|
33
|
-
</button>
|
|
34
|
-
|
|
35
|
-
Angle (deg): <input value="45" id="angleValue" type="text" placeholder="Insert an angle." class="form-elm" /> <br />
|
|
36
|
-
</div>
|
|
37
|
-
<canvas id="myCanvas" width="600" height="600"></canvas>
|
|
38
|
-
</div>
|
|
39
|
-
</article>
|
|
40
|
-
<footer class="bg-black pad-xl text-center">
|
|
41
|
-
<div class="container">
|
|
42
|
-
Created with JavaScript and <span class="octicon octicon-heart"></span> from Romania.
|
|
43
|
-
</div>
|
|
44
|
-
</footer>
|
|
45
|
-
</body>
|
|
46
|
-
</html>
|