-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlab.html
More file actions
282 lines (279 loc) · 17.3 KB
/
Copy pathlab.html
File metadata and controls
282 lines (279 loc) · 17.3 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
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
<!DOCTYPE html>
<html lang="en">
<head>
<script type="module" src="scripts/analytics-loader.js"></script>
<meta charset="UTF-8" />
<meta name="color-scheme" content="dark light" />
<meta name="theme-color" content="#212121" media="(prefers-color-scheme: dark)" />
<meta name="theme-color" content="#dee1e3" media="(prefers-color-scheme: light)" />
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover" />
<meta name="disabled-adaptations" content="watch" />
<meta name="Description"
content="Robert James - A UX Engineer who designs and builds digital experiences and products" />
<meta http-equiv="Content-Security-Policy"
content="default-src 'self'; script-src 'self' https://www.googletagmanager.com https://static.cloudflareinsights.com; style-src 'self' https://fonts.googleapis.com data:; img-src 'self' https://assets.codepen.io data:; font-src 'self' https://fonts.gstatic.com; connect-src 'self' https://robertjames.nyc https://www.google-analytics.com https://analytics.google.com https://cloudflareinsights.com https://static.cloudflareinsights.com; object-src 'none'; frame-src 'self'; frame-ancestors 'self'; base-uri 'self'; upgrade-insecure-requests;" />
<meta name="referrer" content="strict-origin-when-cross-origin" />
<title>Lab | Portfolio</title>
<meta property="og:title" content="Robert James" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://robertjames.nyc" />
<meta property="og:image" content="https://assets.codepen.io/37861/rj-whole.png" />
<meta property="og:locale" content="us_EN" />
<meta property="og:site_name" content="Robert James" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image:alt" content="Robert James" />
<link rel="preload" href="styles/main.css" as="style">
<link rel="stylesheet" href="styles/main.css">
<link rel="modulepreload" href="scripts/favicon-animator.js">
<link rel="icon" type="image/svg+xml" sizes="any" href="images/icon.svg" id="favicon-svg">
<link rel="icon" type="image/png" href="/favicon_144.png" sizes="144x144">
<link rel="icon" type="image/png" href="/favicon_512.png" sizes="512x512">
<link rel="icon" type="image/png" href="/favicon_192.png" sizes="192x192">
<link rel="manifest" href="manifest.json">
<script type="module" src="scripts/favicon-animator.js" async></script>
<script type="module" src="scripts/h1-animation.js"></script>
<script type="speculationrules" src="scripts/speculation-rules-lab.json"></script>
</head>
<body>
<a href="#main-content" class="skip-to-content">Skip to content</a>
<svg class="icon-set" aria-hidden="true">
<symbol id="twitter" aria-label="Social-Icon Twitter">
<title>Social-Icon Twitter</title>
<path
d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z">
</path>
</symbol>
<symbol id="linkedIn" aria-label="Social-Icon LinkedIn">
<title>Social-Icon LinkedIn</title>
<path
d="M21,21H17V14.25C17,13.19 15.81,12.31 14.75,12.31C13.69,12.31 13,13.19 13,14.25V21H9V9H13V11C13.66,9.93 15.36,9.24 16.5,9.24C19,9.24 21,11.28 21,13.75V21M7,21H3V9H7V21M5,3A2,2 0 0,1 7,5A2,2 0 0,1 5,7A2,2 0 0,1 3,5A2,2 0 0,1 5,3Z">
</path>
</symbol>
<symbol id="github" aria-label="Social-Icon Github">
<title>Social-Icon Github</title>
<path
d="M12,2A10,10 0 0,0 2,12C2,16.42 4.87,20.17 8.84,21.5C9.34,21.58 9.5,21.27 9.5,21C9.5,20.77 9.5,20.14 9.5,19.31C6.73,19.91 6.14,17.97 6.14,17.97C5.68,16.81 5.03,16.5 5.03,16.5C4.12,15.88 5.1,15.9 5.1,15.9C6.1,15.97 6.63,16.93 6.63,16.93C7.5,18.45 8.97,18 9.54,17.76C9.63,17.11 9.89,16.67 10.17,16.42C7.95,16.17 5.62,15.31 5.62,11.5C5.62,10.39 6,9.5 6.65,8.79C6.55,8.54 6.2,7.5 6.75,6.15C6.75,6.15 7.59,5.88 9.5,7.17C10.29,6.95 11.15,6.84 12,6.84C12.85,6.84 13.71,6.95 14.5,7.17C16.41,5.88 17.25,6.15 17.25,6.15C17.8,7.5 17.45,8.54 17.35,8.79C18,9.5 18.38,10.39 18.38,11.5C18.38,15.32 16.04,16.16 13.81,16.41C14.17,16.72 14.5,17.33 14.5,18.26C14.5,19.6 14.5,20.68 14.5,21C14.5,21.27 14.66,21.59 15.17,21.5C19.14,20.16 22,16.42 22,12A10,10 0 0,0 12,2Z">
</path>
</symbol>
<symbol id="codepen" aria-label="Social-Icon CodePen">
<title>Social-Icon CodePen</title>
<path
d="M427 201.9c-0.6-4.2-2.9-8-6.4-10.3L264.2 87.3c-4.9-3.3-11.4-3.3-16.3 0L91.4 191.6c-4 2.7-6.5 7.4-6.5 12.2v104.3c0 4.8 2.5 9.6 6.5 12.2l156.4 104.3c4.9 3.3 11.4 3.3 16.3 0L420.6 320.4c4-2.6 6.6-7.4 6.6-12.2V203.9C427.1 203.2 427.1 202.6 427 201.9 427 201.7 427.1 202.6 427 201.9zM270.7 127.1l115.2 76.8 -51.5 34.4 -63.8-42.7V127.1zM241.3 127.1v68.6l-63.8 42.7 -51.5-34.4L241.3 127.1zM114.3 231.4l36.8 24.6 -36.8 24.6V231.4zM241.3 384.9L126.1 308.1l51.5-34.4 63.8 42.6V384.9zM256 290.8l-52-34.8 52-34.8 52 34.8L256 290.8zM270.7 384.9V316.3l63.8-42.6 51.5 34.4L270.7 384.9zM397.7 280.6l-36.8-24.6 36.8-24.6V280.6z" />
</symbol>
<symbol id="email" aria-label="Icon E-mail">
<title>Icon E-mail</title>
<path
d="M20,4H4A2,2 0 0,0 2,6V18A2,2 0 0,0 4,20H20A2,2 0 0,0 22,18V6A2,2 0 0,0 20,4M20,18H4V8L12,13L20,8V18M20,6L12,11L4,6V6H20V6Z">
</path>
</symbol>
</svg>
<header class="header">
<h1><a href="index.html">robert james</a></h1>
<nav>
<ul>
<li><a href="/lab.html" aria-current="page">Lab</a></li>
</ul>
</nav>
</header>
<main id="main-content" class="lab-container">
<section class="demo-examples">
<article tabindex="0" aria-label="Microsoft Logo Proto">
<a href="/lab/microsoft-logo.html" class="demo-link" aria-label="View Microsoft Logo Proto demo">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1"
stroke-linecap="round" stroke-linejoin="round" class="external-icon" aria-hidden="true">
<path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path>
<polyline points="15 3 21 3 21 9"></polyline>
<line x1="10" y1="14" x2="21" y2="3"></line>
</svg>
</a>
<iframe sandbox="allow-scripts allow-forms allow-same-origin" data-src="/lab/microsoft-logo.html"
title="Microsoft Logo Proto" loading="lazy" fetchpriority="low"></iframe>
</article>
<article tabindex="0" aria-label="Headphones Knock">
<a href="/lab/headphones.html" class="demo-link" aria-label="View Headphones Knock demo">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1"
stroke-linecap="round" stroke-linejoin="round" class="external-icon" aria-hidden="true">
<path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path>
<polyline points="15 3 21 3 21 9"></polyline>
<line x1="10" y1="14" x2="21" y2="3"></line>
</svg>
</a>
<iframe sandbox="allow-scripts allow-forms allow-same-origin" data-src="/lab/headphones.html"
title="Headphones Knock" loading="lazy" fetchpriority="low"></iframe>
</article>
<article tabindex="0" aria-label="Emoji Speaker Animation">
<a href="/lab/emoji-speaker.html" class="demo-link" aria-label="View Emoji Speaker Animation demo">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1"
stroke-linecap="round" stroke-linejoin="round" class="external-icon" aria-hidden="true">
<path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path>
<polyline points="15 3 21 3 21 9"></polyline>
<line x1="10" y1="14" x2="21" y2="3"></line>
</svg>
</a>
<iframe sandbox="allow-scripts allow-forms allow-same-origin" data-src="/lab/emoji-speaker.html"
title="Emoji Speaker Animation" loading="lazy" fetchpriority="low"></iframe>
</article>
<article tabindex="0" aria-label="Framer Loaders Animation">
<a href="/lab/framer-loaders.html" class="demo-link" aria-label="View Framer Loaders Animation demo">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1"
stroke-linecap="round" stroke-linejoin="round" class="external-icon" aria-hidden="true">
<path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path>
<polyline points="15 3 21 3 21 9"></polyline>
<line x1="10" y1="14" x2="21" y2="3"></line>
</svg>
</a>
<iframe sandbox="allow-scripts allow-forms allow-same-origin" data-src="/lab/framer-loaders.html"
title="Framer Loaders Animation" loading="lazy" fetchpriority="low"></iframe>
</article>
<article tabindex="0" aria-label="Google Loader Animation">
<a href="/lab/google-loader.html" class="demo-link" aria-label="View Google Loader Animation demo">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1"
stroke-linecap="round" stroke-linejoin="round" class="external-icon" aria-hidden="true">
<path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path>
<polyline points="15 3 21 3 21 9"></polyline>
<line x1="10" y1="14" x2="21" y2="3"></line>
</svg>
</a>
<iframe sandbox="allow-scripts allow-forms allow-same-origin" data-src="/lab/google-loader.html"
title="Google Loader Animation" loading="lazy" fetchpriority="low"></iframe>
</article>
<article tabindex="0" aria-label="Framer Flows Animation">
<a href="/lab/framer-flows.html" class="demo-link" aria-label="View Framer Flows Animation demo">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1"
stroke-linecap="round" stroke-linejoin="round" class="external-icon" aria-hidden="true">
<path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path>
<polyline points="15 3 21 3 21 9"></polyline>
<line x1="10" y1="14" x2="21" y2="3"></line>
</svg>
</a>
<iframe sandbox="allow-scripts allow-forms allow-same-origin" data-src="/lab/framer-flows.html"
title="Framer Flows Animation" loading="lazy" fetchpriority="low"></iframe>
</article>
<article tabindex="0" aria-label="Google Search Loader Animation">
<a href="/lab/google-search-loader.html" class="demo-link" aria-label="View Google Search Loader Animation demo">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1"
stroke-linecap="round" stroke-linejoin="round" class="external-icon" aria-hidden="true">
<path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path>
<polyline points="15 3 21 3 21 9"></polyline>
<line x1="10" y1="14" x2="21" y2="3"></line>
</svg>
</a>
<iframe sandbox="allow-scripts allow-forms allow-same-origin" data-src="/lab/google-search-loader.html"
title="Google Search Loader Animation" loading="lazy" fetchpriority="low"></iframe>
</article>
<article tabindex="0" aria-label="Framer Logo Animation">
<a href="/lab/framer-logo.html" class="demo-link" aria-label="View Framer Logo Animation demo">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1"
stroke-linecap="round" stroke-linejoin="round" class="external-icon" aria-hidden="true">
<path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path>
<polyline points="15 3 21 3 21 9"></polyline>
<line x1="10" y1="14" x2="21" y2="3"></line>
</svg>
</a>
<iframe sandbox="allow-scripts allow-forms allow-same-origin" data-src="/lab/framer-logo.html"
title="Framer Logo Animation" loading="lazy" fetchpriority="low"></iframe>
</article>
<article tabindex="0" aria-label="Figma Logo Animation">
<a href="/lab/figma-logo.html" class="demo-link" aria-label="View Figma Logo Animation demo">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1"
stroke-linecap="round" stroke-linejoin="round" class="external-icon" aria-hidden="true">
<path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path>
<polyline points="15 3 21 3 21 9"></polyline>
<line x1="10" y1="14" x2="21" y2="3"></line>
</svg>
</a>
<iframe sandbox="allow-scripts allow-forms allow-same-origin" data-src="/lab/figma-logo.html"
title="Figma Logo Animation" loading="lazy" fetchpriority="low"></iframe>
</article>
<article tabindex="0" aria-label="Buttons with Custom Properties Animation">
<a href="/lab/buttons-custom-properties.html" class="demo-link" aria-label="View Buttons with Custom Properties Animation demo">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1"
stroke-linecap="round" stroke-linejoin="round" class="external-icon" aria-hidden="true">
<path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path>
<polyline points="15 3 21 3 21 9"></polyline>
<line x1="10" y1="14" x2="21" y2="3"></line>
</svg>
</a>
<iframe sandbox="allow-scripts allow-forms allow-same-origin" data-src="/lab/buttons-custom-properties.html"
title="Buttons with Custom Properties Animation" loading="lazy" fetchpriority="low"></iframe>
</article>
<article tabindex="0" aria-label="Google Store Checkout">
<a href="/lab/checkout-tracking-card.html" class="demo-link" aria-label="View Google Store Checkout demo">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1"
stroke-linecap="round" stroke-linejoin="round" class="external-icon" aria-hidden="true">
<path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6"></path>
<polyline points="15 3 21 3 21 9"></polyline>
<line x1="10" y1="14" x2="21" y2="3"></line>
</svg>
</a>
<iframe sandbox="allow-scripts allow-forms allow-same-origin" data-src="/lab/checkout-tracking-card.html"
title="Google Store Checkout" loading="lazy" fetchpriority="low"></iframe>
</article>
</div>
</main>
<footer class="footer-menu">
<ul>
<li class="footer-menu--item" role='listitem'>
<a href="/resume.html" class="resume" data-analytics-link="Resume">
<p class='icon-text'>Resume</p>
</a>
</li>
<li class="footer-menu--item" role='listitem'>
<a href="/lab.html" class="lab" aria-current="page" data-analytics-link="Lab">
<p class='icon-text'>Lab</p>
</a>
</li>
<li class="footer-menu--item" role='listitem'>
<a href="https://www.linkedin.com/in/robertmajames" class="linkedIn" target="_blank" rel="noopener noreferrer"
aria-label="LinkedIn">
<svg id="icon-linkedIn" aria-hidden="true" width="32" height="32" viewBox="0 0 24 24">
<use href="#linkedIn"></use>
</svg>
<p class='icon-text'>LinkedIn</p>
</a>
</li>
<li class="footer-menu--item" role='listitem'>
<a href="https://github.com/rmjames" class="github" target="_blank" rel="noopener noreferrer"
aria-label="GitHub">
<svg id="icon-github" aria-hidden="true" width="32" height="32" viewBox="0 0 24 24">
<use href="#github"></use>
</svg>
<p class='icon-text'>Github</p>
</a>
</li>
<li class="footer-menu--item" role='listitem'>
<a href="https://codepen.io/rmjames/" class="codepen" target="_blank" rel="noopener noreferrer"
aria-label="CodePen">
<svg id="icon-codepen" aria-hidden="true" width="32" height="32" viewBox="0 0 512 512">
<use href="#codepen" transform="scale(1.2) translate(-20,-25)">
</use>
</svg>
<p class='icon-text'>Codepen</p>
</a>
</li>
<li class="footer-menu--item" role='listitem'>
<a href="https://twitter.com/bkrjames" class="twitter" target="_blank" rel="noopener noreferrer"
aria-label="X / Twitter">
<svg id="icon-twitter" aria-hidden="true" width="32" height="32" viewBox="0 0 24 24">
<use href="#twitter"></use>
</svg>
<p class='icon-text'>X</p>
</a>
</li>
<li class="footer-menu--item" role='listitem'>
<a href="mailto:rma.james@gmail.com?Subject=Inquiry" class="email" aria-label="Send email to Robert James">
<svg id="icon-email" aria-hidden="true" width="32" height="32" viewBox="0 0 24 24">
<use href="#email"></use>
</svg>
<p class='icon-text'>Email</p>
</a>
</li>
</ul>
<p class="copyright">©Robert James</p>
</footer>
<script type="module" src="scripts/copyright.js"></script>
<script type="module" src="scripts/lab-analytics.js"></script>
<script type="module" src="scripts/analytics.js"></script>
<script type="module" src="scripts/register-sw.js"></script>
</body>
</html>