-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathi-like-to-think-about-pixels.html
More file actions
217 lines (215 loc) · 6.61 KB
/
i-like-to-think-about-pixels.html
File metadata and controls
217 lines (215 loc) · 6.61 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>
Chuck Orde — I like to think about pixels
</title>
<meta charset="utf-8"/>
<link href="http://gmpg.org/xfn/11" rel="profile"/>
<link href="/theme/css/style.css" rel="stylesheet" type="text/css"/>
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"/>
<link href="http://fonts.googleapis.com/css?family=Oswald" id="oswald-css" media="all" rel="stylesheet" type="text/css">
<style type="text/css">
body.custom-background { background-color: #f5f5f5; }
#distribution path {
stroke: #333;
stroke-width: 2;
fill: none;
strokstroke-opacity: 0.5;
}
#distribution .bar {
fill-opacity: 0.5;
}
</style>
<link href="/" rel="alternate" title="Chuck Orde — Flux Atom" type="application/atom+xml"/>
<!--[if lte IE 8]><script src="/theme/js/html5shiv.js"></script><![endif]-->
<link href="/theme/css/pygments/monokai.css" rel="stylesheet" type="text/css"/>
</link>
</head>
<body class="home blog custom-background ">
<div id="container">
<div id="header">
<div class="svg-container">
<div id="svg">
</div>
</div>
</div>
<!-- /#banner -->
<div id="menu">
<div class="menu-navigation-container">
<ul class="menu" id="menu-navigation">
<a href="/" style="float:left;padding:0">
home
</a>
<li class="menu-item menu-item-type-post_type menu-item-object-page">
<a href="/category/computer-vision.html">
Computer Vision
</a>
</li>
<li class="menu-item menu-item-type-post_type menu-item-object-page">
<a href="/category/data-visualization.html">
Data Visualization
</a>
</li>
<li class="menu-item menu-item-type-post_type menu-item-object-page">
<a href="/category/machine-learning.html">
Machine Learning
</a>
</li>
</ul>
</div>
<!--/#menu-navigation-container-->
</div>
<!-- /#menu -->
<div class="page-title">
</div>
<div id="contents">
<div class="post type-post status-publish format-standard hentry category-general" id="post">
<div class="entry-meta">
<div class="date">
<a href="/i-like-to-think-about-pixels.html">
Aug.09.2014
</a>
</div>
<span class="byline">
By
<a href="/author/chuck-orde.html">
Chuck Orde
</a>
</span>
<span class="cat-links">
<a href="/category/data-visualization.html" rel="category tag" title="View all posts in Data Visualization">
Data Visualization
</a>
</span>
</div>
<!-- /#entry-meta -->
<div class="main">
<h2 class="entry-title">
<a href="/i-like-to-think-about-pixels.html" rel="bookmark" title="Permalink to I like to think about pixels">
I like to think about pixels
</a>
</h2>
<div class="entry-content">
<div class="cell border-box-sizing text_cell rendered">
<div class="prompt input_prompt">
</div>
<div class="inner_cell">
<div class="text_cell_render border-box-sizing rendered_html">
<p>
I have been thinking about parallax scrolling lately. It's a neat effect.
</p>
<p>
After looking at a few
<a href="http://prinzhorn.github.io/skrollr/">
very good
</a>
JavaScript libraries I started thinking about
some cools things to do with a mouse wheel input.
</p>
<p>
I want to scroll in
<em>
every direction
</em>
, I want to
<em>
scale
</em>
and
<em>
fade
</em>
, I want it all.
<!-- TEASER_END -->
</p>
<p>
This was interesting enought to hold my attention for a weekend, so I decided to write my own.
<br/>
I'm currently doing some pro bono web development
in my free time, so I'll release the JS code and documentation shortly.
</p>
<p>
In the mean time here's a quick demo. This is doing
<em>
a lot
</em>
of lifting behind
the scenes and it is not production code, just an
<a href="/pixels">
example
</a>
.
</p>
<p>
Enjoy!
</p>
<p>
<strong>
<a href="/pixels">
I like to think about pixels!
</a>
</strong>
</p>
</div>
</div>
</div>
<script type="text/javascript">
if (!document.getElementById('mathjaxscript_pelican_#%@#$@#')) {
var mathjaxscript = document.createElement('script');
mathjaxscript.id = 'mathjaxscript_pelican_#%@#$@#';
mathjaxscript.type = 'text/javascript';
mathjaxscript.src = '//cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.1/MathJax.js?config=TeX-AMS-MML_HTMLorMML';
mathjaxscript[(window.opera ? "innerHTML" : "text")] =
"MathJax.Hub.Config({" +
" config: ['MMLorHTML.js']," +
" TeX: { extensions: ['AMSmath.js','AMSsymbols.js','noErrors.js','noUndefined.js'], equationNumbers: { autoNumber: 'AMS' } }," +
" jax: ['input/TeX','input/MathML','output/HTML-CSS']," +
" extensions: ['tex2jax.js','mml2jax.js','MathMenu.js','MathZoom.js']," +
" displayAlign: 'center'," +
" displayIndent: '0em'," +
" showMathMenu: true," +
" tex2jax: { " +
" inlineMath: [ ['$','$'] ], " +
" displayMath: [ ['$$','$$'] ]," +
" processEscapes: true," +
" preview: 'TeX'," +
" }, " +
" 'HTML-CSS': { " +
" linebreaks: { automatic: true, width: '95% container' }, " +
" styles: { '.MathJax_Display, .MathJax .mo, .MathJax .mi, .MathJax .mn': {color: 'black ! important'} }" +
" } " +
"}); ";
(document.body || document.getElementsByTagName('head')[0]).appendChild(mathjaxscript);
}
</script>
</div>
<!--/#entry-content-->
<span class="tag-links">
<strong>
Tagged
</strong>
<a href="/tag/javascript.html" rel="tag">
javascript
</a>
</span>
</div>
<!--/#main-->
</div>
<!--/#post-->
</div>
<div id="footer">
</div>
<!-- /#footer -->
</div>
<!-- /#container -->
<div style="display:none">
</div>
<script src="/js/math.js">
</script>
<script src="/js/d3.v4.js">
</script>
<script src="/js/visual-nn.js">
</script>
</body>
</html>