-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathindex.html
More file actions
236 lines (162 loc) · 9.21 KB
/
Copy pathindex.html
File metadata and controls
236 lines (162 loc) · 9.21 KB
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
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Stupid Desk - An exercise in knolling.</title>
<meta name="description" content="DDH Web Lab">
<meta name="author" content="Deep Dark Hole">
<link href='https://fonts.googleapis.com/css?family=Domine:400' rel='stylesheet' type='text/css'>
<link rel="stylesheet" href="css/fonts.css">
<link rel="stylesheet" href="css/basic.css">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.5.0/css/font-awesome.min.css">
<script src="https://code.createjs.com/preloadjs-0.6.1.min.js"></script>
<script src="https://code.createjs.com/easeljs-0.8.1.min.js"></script>
<script src="https://code.createjs.com/tweenjs-0.6.1.min.js"></script>
<script src="https://www.gstatic.com/firebasejs/5.0.0/firebase.js"></script>
<script src="js/global.js"></script>
<script src="js/preload.js"></script>
<script src="js/alignment.js"></script>
<script src="js/alignmentDrawer.js"></script>
<script src="js/audio.js"></script>
<script src="js/cookies.js"></script>
<script src="js/item.js"></script>
<script src="js/guideDrawer.js"></script>
<script src="js/guideDot.js"></script>
<script src="js/guideLine.js"></script>
<script src="js/randomColor.js"></script>
<script src="js/server.js"></script>
<script src="js/social.js"></script>
<script src="js/stage.js"></script>
<script src="js/vector.js"></script>
<script src="js/main.js"></script>
<!-- <script src="js/knoll.min.js"></script> -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','http://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-71028554-1', 'auto');
ga('send', 'pageview');
</script>
<!--[if lt IE 9]>
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="Organize your stupid desk with a playful exercise in knolling.">
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Stupid Desk ">
<meta name="twitter:description" content="Organize your stupid desk with a playful exercise in knolling.">
<meta name="twitter:image" content="http://stupiddesk.com/imgs/social/facebook.png">
<meta property="og:url" content="http://stupiddesk.com" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Stupid Desk" />
<meta property="og:description" content="Organize your stupid desk with a playful exercise in knolling." />
<meta property="og:image" content="http://stupiddesk.com/imgs/social/facebook.png" />
</head>
<body onload="preload();" class="disable-selection">
<div id="intro" class="center modal">
<h1>Knoll (verb)</h1>
<p>
Knolling is the process of arranging related objects in parallel or 90-degree angles as a method of organization.
</p>
<ul>
<li>
<button id="loading" type="button" name="start" class="green_btn" disabled onclick="start();">
<span class="bkg"></span>
<span class="text"><i class="fa fa-twitter-magic"></i><span class="hidden-sm"> Get Stupid</span></span>
</button>
</li>
<li><button id="intro_view" type="button" name="view" class="grey_btn" disabled onclick="view();"><i class="fa fa-eye"></i><span class="hidden-sm"> View</button></span></li>
</ul>
</div>
<div id="confirm" class="center modal">
<h1>Are you sure?</h1>
<p>
This will clear your current knoll.
</p>
<ul>
<li><button id="loading" type="button" name="stupid" class="green_btn" onclick="stupid();"><i class="fa fa-magic"></i><span class="hidden-sm"> Make Stupid</button></span></li>
<li><button id="loading" type="button" name="cancel" class="grey_btn" onclick="cancel();"><i class="fa fa-times"></i><span class="hidden-sm"> Cancel</button></span></li>
</ul>
</div>
<div id="share" class="center modal">
<div class="share-container">
<div id="share_img" class="preview"></div>
<div class="share-content">
<h1>Share Your Desk!</h1>
<p>Show off your mad organizational skills.</p>
<input readonly value="http://stupiddesk.com/?" >
<ul>
<li><button type="button" name="tweet" class="blue_btn" onclick="tweet();"><i class="fa fa-twitter-square"></i><span class="hidden-sm"> Twitter</span></button>
</li>
<li>
<button id="loading" type="button" name="facebook" class="blue_facebook_btn" onclick="facebook();"><i class="fa fa-facebook-square"></i><span class="hidden-sm"> Facebook</span></button>
</li>
<li><button type="button" name="close" class="grey_btn" onclick="cancel()"><i class="fa fa-times"></i><span class="hidden-sm"> Close</button></span></li>
</ul>
</div>
</div>
</div>
<div id="header" class="center">
<ul>
<li><button type="button" name="stupid" class="green_btn" onclick="confirm();"><i class="fa fa-magic"></i><span class="hidden-sm"> Make Stupid</button></span></li>
<li><button id="share_button" type="button" name="share" class="blue_btn" onclick="share();"><i class="fa fa-check-square"></i><span class="hidden-sm"> Done</button></span></li>
<li><button type="button" name="learn" class="grey_btn" onclick="about();"><i class="fa fa-info-circle"></i><span class="hidden-sm"> Learn More</button></span></li>
<li>
<button type="button" class="red_btn" onclick="toggleAudio();">
<i id="audio_on" class="fa fa-volume-up"></i><span class="hidden-sm"><i id="audio_off" class="fa fa-volume-off" style="display: none;"></span></i>
</button>
</li>
<!--
<li><button type="button" name="save" class="grey_btn" onclick="save();">Save</button></li>
<li><button type="button" name="load" class="grey_btn" onclick="load();">Load</button></li>
<li><button id="export" type="button" name="export" class="grey_btn" onclick="exportCanvas();">Export</button></li>
-->
</ul>
</div>
<div id="about" class="center modal">
<h1>Knolling is natural.</h1>
<p>
Try and explain it to someone and it’s hard. Take a moment and show someone and it becomes very simple.
</p>
<p>
StupidDesk is our humble attempt to teach knolling. Consider this your first design assignment—or just a peaceful way to the pass the time.
</p>
<p>
The word Knolling was coined by Andrew Kromelow as he worked under Frank Gehry while he designed chairs for Knoll Furniture.
</p>
<p>
Feel free to ask <a href="http://twitter.com/willstall">@willstall</a> any stupid design questions you might have ;)
</p>
<h2>Additional resources:</h2>
<p>
<a href="https://en.wikipedia.org/wiki/Knoll_(verb)" target="_blank" >Wikipedia</a> <br/>
<a href="http://www.minimallyminimal.com/blog/90degrees" target="_blank">90° by Andrew Kim</a> <br/>
<a href="http://tidyingup.com" target="_blank">The Life-Changing Magic of Tidying Up by Marie Kondo</a>
</p>
<ul>
<li><button type="button" name="close" class="grey_btn" onclick="cancel()"><i class="fa fa-times"></i><span class="hidden-sm"> Close</button></span></li>
</ul>
</div>
<div id="content">
<canvas id="canvas" width="500" height="300"></canvas>
</div>
<div id="footer" class="center">
<!--
<script async src="http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<ins class="adsbygoogle"
style="display:block;width:468px;height:60px;margin:0px auto;margin-bottom:1em;"
data-ad-client="ca-pub-7882574446852005"
data-ad-slot="2942382577"></ins>
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script> -->
<p>
Made in a <a href="http://www.deepdarkhole.com">Deep Dark Hole</a> using <a href="http://www.createjs.com">CreateJS</a>. Contribute on <a href="https://github.com/deepdarkhole/stupiddesk/">Github</a>.<br/>
<a href="http://twitter.com/andreimarks/">@AndreiMarks</a> | <a href="http://twitter.com/willstall/">@WillStall</a> | <a href="http://twitter.com/dainsaint/">@DainSaint</a>
</p>
</div>
<audio id="bgm" src="mp3/ipanema.mp3" loop />
</body>
</html>