circular-mirror 1.0.0 → 1.0.1

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.
@@ -1,230 +0,0 @@
1
- @font-face {
2
- font-family: 'octicons';
3
- src: font-url('octicons.eot?#iefix') format('embedded-opentype'),
4
- font-url('octicons.woff') format('woff'),
5
- font-url('octicons.ttf') format('truetype'),
6
- font-url('octicons.svg#octicons') format('svg');
7
- font-weight: normal;
8
- font-style: normal;
9
- }
10
-
11
- // .octicon is optimized for 16px.
12
- // .mega-octicon is optimized for 32px but can be used larger.
13
- .octicon, .mega-octicon {
14
- font: normal normal normal 16px/1 octicons;
15
- display: inline-block;
16
- text-decoration: none;
17
- text-rendering: auto;
18
- -webkit-font-smoothing: antialiased;
19
- -moz-osx-font-smoothing: grayscale;
20
- -webkit-user-select: none;
21
- -moz-user-select: none;
22
- -ms-user-select: none;
23
- user-select: none;
24
- }
25
- .mega-octicon { font-size: 32px; }
26
-
27
- .octicon-alert:before { content: '\f02d'} /*  */
28
- .octicon-alignment-align:before { content: '\f08a'} /*  */
29
- .octicon-alignment-aligned-to:before { content: '\f08e'} /*  */
30
- .octicon-alignment-unalign:before { content: '\f08b'} /*  */
31
- .octicon-arrow-down:before { content: '\f03f'} /*  */
32
- .octicon-arrow-left:before { content: '\f040'} /*  */
33
- .octicon-arrow-right:before { content: '\f03e'} /*  */
34
- .octicon-arrow-small-down:before { content: '\f0a0'} /*  */
35
- .octicon-arrow-small-left:before { content: '\f0a1'} /*  */
36
- .octicon-arrow-small-right:before { content: '\f071'} /*  */
37
- .octicon-arrow-small-up:before { content: '\f09f'} /*  */
38
- .octicon-arrow-up:before { content: '\f03d'} /*  */
39
- .octicon-beer:before { content: '\f069'} /*  */
40
- .octicon-book:before { content: '\f007'} /*  */
41
- .octicon-bookmark:before { content: '\f07b'} /*  */
42
- .octicon-briefcase:before { content: '\f0d3'} /*  */
43
- .octicon-broadcast:before { content: '\f048'} /*  */
44
- .octicon-browser:before { content: '\f0c5'} /*  */
45
- .octicon-bug:before { content: '\f091'} /*  */
46
- .octicon-calendar:before { content: '\f068'} /*  */
47
- .octicon-check:before { content: '\f03a'} /*  */
48
- .octicon-checklist:before { content: '\f076'} /*  */
49
- .octicon-chevron-down:before { content: '\f0a3'} /*  */
50
- .octicon-chevron-left:before { content: '\f0a4'} /*  */
51
- .octicon-chevron-right:before { content: '\f078'} /*  */
52
- .octicon-chevron-up:before { content: '\f0a2'} /*  */
53
- .octicon-circle-slash:before { content: '\f084'} /*  */
54
- .octicon-circuit-board:before { content: '\f0d6'} /*  */
55
- .octicon-clippy:before { content: '\f035'} /*  */
56
- .octicon-clock:before { content: '\f046'} /*  */
57
- .octicon-cloud-download:before { content: '\f00b'} /*  */
58
- .octicon-cloud-upload:before { content: '\f00c'} /*  */
59
- .octicon-code:before { content: '\f05f'} /*  */
60
- .octicon-color-mode:before { content: '\f065'} /*  */
61
- .octicon-comment-add:before,
62
- .octicon-comment:before { content: '\f02b'} /*  */
63
- .octicon-comment-discussion:before { content: '\f04f'} /*  */
64
- .octicon-credit-card:before { content: '\f045'} /*  */
65
- .octicon-dash:before { content: '\f0ca'} /*  */
66
- .octicon-dashboard:before { content: '\f07d'} /*  */
67
- .octicon-database:before { content: '\f096'} /*  */
68
- .octicon-device-camera:before { content: '\f056'} /*  */
69
- .octicon-device-camera-video:before { content: '\f057'} /*  */
70
- .octicon-device-desktop:before { content: '\f27c'} /*  */
71
- .octicon-device-mobile:before { content: '\f038'} /*  */
72
- .octicon-diff:before { content: '\f04d'} /*  */
73
- .octicon-diff-added:before { content: '\f06b'} /*  */
74
- .octicon-diff-ignored:before { content: '\f099'} /*  */
75
- .octicon-diff-modified:before { content: '\f06d'} /*  */
76
- .octicon-diff-removed:before { content: '\f06c'} /*  */
77
- .octicon-diff-renamed:before { content: '\f06e'} /*  */
78
- .octicon-ellipsis:before { content: '\f09a'} /*  */
79
- .octicon-eye-unwatch:before,
80
- .octicon-eye-watch:before,
81
- .octicon-eye:before { content: '\f04e'} /*  */
82
- .octicon-file-binary:before { content: '\f094'} /*  */
83
- .octicon-file-code:before { content: '\f010'} /*  */
84
- .octicon-file-directory:before { content: '\f016'} /*  */
85
- .octicon-file-media:before { content: '\f012'} /*  */
86
- .octicon-file-pdf:before { content: '\f014'} /*  */
87
- .octicon-file-submodule:before { content: '\f017'} /*  */
88
- .octicon-file-symlink-directory:before { content: '\f0b1'} /*  */
89
- .octicon-file-symlink-file:before { content: '\f0b0'} /*  */
90
- .octicon-file-text:before { content: '\f011'} /*  */
91
- .octicon-file-zip:before { content: '\f013'} /*  */
92
- .octicon-flame:before { content: '\f0d2'} /*  */
93
- .octicon-fold:before { content: '\f0cc'} /*  */
94
- .octicon-gear:before { content: '\f02f'} /*  */
95
- .octicon-gift:before { content: '\f042'} /*  */
96
- .octicon-gist:before { content: '\f00e'} /*  */
97
- .octicon-gist-secret:before { content: '\f08c'} /*  */
98
- .octicon-git-branch-create:before,
99
- .octicon-git-branch-delete:before,
100
- .octicon-git-branch:before { content: '\f020'} /*  */
101
- .octicon-git-commit:before { content: '\f01f'} /*  */
102
- .octicon-git-compare:before { content: '\f0ac'} /*  */
103
- .octicon-git-merge:before { content: '\f023'} /*  */
104
- .octicon-git-pull-request-abandoned:before,
105
- .octicon-git-pull-request:before { content: '\f009'} /*  */
106
- .octicon-globe:before { content: '\f0b6'} /*  */
107
- .octicon-graph:before { content: '\f043'} /*  */
108
- .octicon-heart:before { content: '\2665'} /* ♥ */
109
- .octicon-history:before { content: '\f07e'} /*  */
110
- .octicon-home:before { content: '\f08d'} /*  */
111
- .octicon-horizontal-rule:before { content: '\f070'} /*  */
112
- .octicon-hourglass:before { content: '\f09e'} /*  */
113
- .octicon-hubot:before { content: '\f09d'} /*  */
114
- .octicon-inbox:before { content: '\f0cf'} /*  */
115
- .octicon-info:before { content: '\f059'} /*  */
116
- .octicon-issue-closed:before { content: '\f028'} /*  */
117
- .octicon-issue-opened:before { content: '\f026'} /*  */
118
- .octicon-issue-reopened:before { content: '\f027'} /*  */
119
- .octicon-jersey:before { content: '\f019'} /*  */
120
- .octicon-jump-down:before { content: '\f072'} /*  */
121
- .octicon-jump-left:before { content: '\f0a5'} /*  */
122
- .octicon-jump-right:before { content: '\f0a6'} /*  */
123
- .octicon-jump-up:before { content: '\f073'} /*  */
124
- .octicon-key:before { content: '\f049'} /*  */
125
- .octicon-keyboard:before { content: '\f00d'} /*  */
126
- .octicon-law:before { content: '\f0d8'} /* */
127
- .octicon-light-bulb:before { content: '\f000'} /*  */
128
- .octicon-link:before { content: '\f05c'} /*  */
129
- .octicon-link-external:before { content: '\f07f'} /*  */
130
- .octicon-list-ordered:before { content: '\f062'} /*  */
131
- .octicon-list-unordered:before { content: '\f061'} /*  */
132
- .octicon-location:before { content: '\f060'} /*  */
133
- .octicon-gist-private:before,
134
- .octicon-mirror-private:before,
135
- .octicon-git-fork-private:before,
136
- .octicon-lock:before { content: '\f06a'} /*  */
137
- .octicon-logo-github:before { content: '\f092'} /*  */
138
- .octicon-mail:before { content: '\f03b'} /*  */
139
- .octicon-mail-read:before { content: '\f03c'} /*  */
140
- .octicon-mail-reply:before { content: '\f051'} /*  */
141
- .octicon-mark-github:before { content: '\f00a'} /*  */
142
- .octicon-markdown:before { content: '\f0c9'} /*  */
143
- .octicon-megaphone:before { content: '\f077'} /*  */
144
- .octicon-mention:before { content: '\f0be'} /*  */
145
- .octicon-microscope:before { content: '\f089'} /*  */
146
- .octicon-milestone:before { content: '\f075'} /*  */
147
- .octicon-mirror-public:before,
148
- .octicon-mirror:before { content: '\f024'} /*  */
149
- .octicon-mortar-board:before { content: '\f0d7'} /* */
150
- .octicon-move-down:before { content: '\f0a8'} /*  */
151
- .octicon-move-left:before { content: '\f074'} /*  */
152
- .octicon-move-right:before { content: '\f0a9'} /*  */
153
- .octicon-move-up:before { content: '\f0a7'} /*  */
154
- .octicon-mute:before { content: '\f080'} /*  */
155
- .octicon-no-newline:before { content: '\f09c'} /*  */
156
- .octicon-octoface:before { content: '\f008'} /*  */
157
- .octicon-organization:before { content: '\f037'} /*  */
158
- .octicon-package:before { content: '\f0c4'} /*  */
159
- .octicon-paintcan:before { content: '\f0d1'} /*  */
160
- .octicon-pencil:before { content: '\f058'} /*  */
161
- .octicon-person-add:before,
162
- .octicon-person-follow:before,
163
- .octicon-person:before { content: '\f018'} /*  */
164
- .octicon-pin:before { content: '\f041'} /*  */
165
- .octicon-playback-fast-forward:before { content: '\f0bd'} /*  */
166
- .octicon-playback-pause:before { content: '\f0bb'} /*  */
167
- .octicon-playback-play:before { content: '\f0bf'} /*  */
168
- .octicon-playback-rewind:before { content: '\f0bc'} /*  */
169
- .octicon-plug:before { content: '\f0d4'} /*  */
170
- .octicon-repo-create:before,
171
- .octicon-gist-new:before,
172
- .octicon-file-directory-create:before,
173
- .octicon-file-add:before,
174
- .octicon-plus:before { content: '\f05d'} /*  */
175
- .octicon-podium:before { content: '\f0af'} /*  */
176
- .octicon-primitive-dot:before { content: '\f052'} /*  */
177
- .octicon-primitive-square:before { content: '\f053'} /*  */
178
- .octicon-pulse:before { content: '\f085'} /*  */
179
- .octicon-puzzle:before { content: '\f0c0'} /*  */
180
- .octicon-question:before { content: '\f02c'} /*  */
181
- .octicon-quote:before { content: '\f063'} /*  */
182
- .octicon-radio-tower:before { content: '\f030'} /*  */
183
- .octicon-repo-delete:before,
184
- .octicon-repo:before { content: '\f001'} /*  */
185
- .octicon-repo-clone:before { content: '\f04c'} /*  */
186
- .octicon-repo-force-push:before { content: '\f04a'} /*  */
187
- .octicon-gist-fork:before,
188
- .octicon-repo-forked:before { content: '\f002'} /*  */
189
- .octicon-repo-pull:before { content: '\f006'} /*  */
190
- .octicon-repo-push:before { content: '\f005'} /*  */
191
- .octicon-rocket:before { content: '\f033'} /*  */
192
- .octicon-rss:before { content: '\f034'} /*  */
193
- .octicon-ruby:before { content: '\f047'} /*  */
194
- .octicon-screen-full:before { content: '\f066'} /*  */
195
- .octicon-screen-normal:before { content: '\f067'} /*  */
196
- .octicon-search-save:before,
197
- .octicon-search:before { content: '\f02e'} /*  */
198
- .octicon-server:before { content: '\f097'} /*  */
199
- .octicon-settings:before { content: '\f07c'} /*  */
200
- .octicon-log-in:before,
201
- .octicon-sign-in:before { content: '\f036'} /*  */
202
- .octicon-log-out:before,
203
- .octicon-sign-out:before { content: '\f032'} /*  */
204
- .octicon-split:before { content: '\f0c6'} /*  */
205
- .octicon-squirrel:before { content: '\f0b2'} /*  */
206
- .octicon-star-add:before,
207
- .octicon-star-delete:before,
208
- .octicon-star:before { content: '\f02a'} /*  */
209
- .octicon-steps:before { content: '\f0c7'} /*  */
210
- .octicon-stop:before { content: '\f08f'} /*  */
211
- .octicon-repo-sync:before,
212
- .octicon-sync:before { content: '\f087'} /*  */
213
- .octicon-tag-remove:before,
214
- .octicon-tag-add:before,
215
- .octicon-tag:before { content: '\f015'} /*  */
216
- .octicon-telescope:before { content: '\f088'} /*  */
217
- .octicon-terminal:before { content: '\f0c8'} /*  */
218
- .octicon-three-bars:before { content: '\f05e'} /*  */
219
- .octicon-tools:before { content: '\f031'} /*  */
220
- .octicon-trashcan:before { content: '\f0d0'} /*  */
221
- .octicon-triangle-down:before { content: '\f05b'} /*  */
222
- .octicon-triangle-left:before { content: '\f044'} /*  */
223
- .octicon-triangle-right:before { content: '\f05a'} /*  */
224
- .octicon-triangle-up:before { content: '\f0aa'} /*  */
225
- .octicon-unfold:before { content: '\f039'} /*  */
226
- .octicon-unmute:before { content: '\f0ba'} /*  */
227
- .octicon-versions:before { content: '\f064'} /*  */
228
- .octicon-remove-close:before,
229
- .octicon-x:before { content: '\f081'} /*  */
230
- .octicon-zap:before { content: '\26A1'} /* ⚡ */
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>