-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtemplate.mdx
265 lines (183 loc) · 5.93 KB
/
template.mdx
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
[//]: # (import { ArticleLayout } from '@/components/ArticleLayout')
[//]: # ()
[//]: # ()
[//]: # (export const meta = {)
[//]: # ()
[//]: # ( author: 'Adam Wathan',)
[//]: # ()
[//]: # ( date: '2022-09-02',)
[//]: # ()
[//]: # ( title: 'Introducing Animaginary: High performance web animation',)
[//]: # ()
[//]: # ( description:)
[//]: # ()
[//]: # ( 'When you’re building a website for a company as ambitious as Planetaria, you need to make an impression. I wanted people to visit our website and see animations that looked more realistic than reality itself.',)
[//]: # ()
[//]: # (})
[//]: # ()
[//]: # ()
[//]: # (export default (props) => <ArticleLayout meta={meta} {...props} />)
[//]: # ()
[//]: # ()
[//]: # (When you’re building a website for a company as ambitious as Planetaria, you need to make an impression. I wanted people to visit our website and see animations that looked more realistic than reality itself.)
[//]: # ()
[//]: # ()
[//]: # (To make this possible, we needed to squeeze every drop of performance out of the browser possible. And so Animaginary was born.)
[//]: # ()
[//]: # ()
[//]: # (```js)
[//]: # ()
[//]: # (import { animate } from '@planetaria/animaginary')
[//]: # ()
[//]: # ()
[//]: # (export function MyComponent({ open, children }) {)
[//]: # ()
[//]: # ( return ()
[//]: # ()
[//]: # ( <animate.div)
[//]: # ()
[//]: # ( in={open})
[//]: # ()
[//]: # ( animateFrom="opacity-0 scale-95")
[//]: # ()
[//]: # ( animateTo="opacity-100 scale-100")
[//]: # ()
[//]: # ( duration={350})
[//]: # ()
[//]: # ( >)
[//]: # ()
[//]: # ( {children})
[//]: # ()
[//]: # ( </animate.div>)
[//]: # ()
[//]: # ( ))
[//]: # ()
[//]: # (})
[//]: # ()
[//]: # (```)
[//]: # ()
[//]: # ()
[//]: # (Animaginary is our new web animation library that redefines what you thought was possible on the web. Hand-written in optimized WASM, Animaginary can even animate the `height` property of an element at 60fps.)
[//]: # ()
[//]: # ()
[//]: # (## Sermone fata)
[//]: # ()
[//]: # ()
[//]: # (Lorem markdownum, bracchia in redibam! Terque unda puppi nec, linguae posterior)
[//]: # ()
[//]: # (in utraque respicere candidus Mimasque formae; quae conantem cervice. Parcite)
[//]: # ()
[//]: # (variatus, redolentia adeunt. Tyrioque dies, naufraga sua adit partibus celanda)
[//]: # ()
[//]: # (torquere temptata, erit maneat et ramos, [iam](#) ait dominari)
[//]: # ()
[//]: # (potitus! Tibi litora matremque fumantia condi radicibus opusque.)
[//]: # ()
[//]: # ()
[//]: # (Deus feram verumque, fecit, ira tamen, terras per alienae victum. Mutantur)
[//]: # ()
[//]: # (levitate quas ubi arcum ripas oculos abest. Adest [commissaque)
[//]: # ()
[//]: # (victae](#) in gemitus nectareis ire diva)
[//]: # ()
[//]: # (dotibus ora, et findi huic invenit; fatis? Fractaque dare superinposita)
[//]: # ()
[//]: # (nimiumque simulatoremque sanguine, at voce aestibus diu! Quid veterum hausit tu)
[//]: # ()
[//]: # (nil utinam paternos ima, commentaque.)
[//]: # ()
[//]: # ()
[//]: # (```c)
[//]: # ()
[//]: # (exbibyte_wins = gigahertz(3);)
[//]: # ()
[//]: # (grayscaleUtilityClient = control_uat;)
[//]: # ()
[//]: # (pcmciaHibernate = oop_virus_console(text_mountain);)
[//]: # ()
[//]: # (if (stateWaisFirewire >= -2) {)
[//]: # ()
[//]: # ( jfs = 647065 / ldapVrml(tutorialRestore, 85);)
[//]: # ()
[//]: # ( metal_runtime_parse = roomComputingResolution - toolbarUpload +)
[//]: # ()
[//]: # ( ipx_nvram_open;)
[//]: # ()
[//]: # (} else {)
[//]: # ()
[//]: # ( maximizeSidebar *= suffix_url(flatbed + 2, requirements_encoding_node +)
[//]: # ()
[//]: # ( only_qbe_media, minicomputer);)
[//]: # ()
[//]: # (})
[//]: # ()
[//]: # (```)
[//]: # ()
[//]: # ()
[//]: # (Aere repetiti cognataque natus. Habebat vela solutis saepe munus nondum adhuc)
[//]: # ()
[//]: # (oscula nomina pignora corpus deserat.)
[//]: # ()
[//]: # ()
[//]: # (## Lethaei Pindumve me quae dinumerat Pavor)
[//]: # ()
[//]: # ()
[//]: # (Idem se saxa fata pollentibus geminos; quos pedibus. Est urnis Herses omnes nec)
[//]: # ()
[//]: # (divite: et ille illa furit sim verbis Cyllenius.)
[//]: # ()
[//]: # ()
[//]: # (1. Captus inpleverunt collo)
[//]: # ()
[//]: # (2. Nec nam placebant)
[//]: # ()
[//]: # (3. Siquos vulgus)
[//]: # ()
[//]: # (4. Dictis carissime fugae)
[//]: # ()
[//]: # (5. A tacitos nulla viginti)
[//]: # ()
[//]: # ()
[//]: # (Ungues fistula annoso, ille addit linoque motatque uberior verso)
[//]: # ()
[//]: # ([rubuerunt](#) confine desuetaque. _Sanguine_ anteit)
[//]: # ()
[//]: # (emerguntque expugnacior est pennas iniqui ecce **haeret** genus: peiora imagine)
[//]: # ()
[//]: # (fossas Cephisos formosa! Refugitque amata [refelli](#))
[//]: # ()
[//]: # (supplex. Summa brevis vetuere tenebas, hostes vetantis, suppressit, arreptum)
[//]: # ()
[//]: # (regna. Postquam conpescit iuvenis habet corpus, et erratica, perdere, tot mota)
[//]: # ()
[//]: # (ars talis.)
[//]: # ()
[//]: # ()
[//]: # (```c)
[//]: # ()
[//]: # (digital.webcam_dual_frequency = webmasterMms;)
[//]: # ()
[//]: # (if (5 + language_standalone_google) {)
[//]: # ()
[//]: # ( cc_inbox_layout *= file_character;)
[//]: # ()
[//]: # ( task += p;)
[//]: # ()
[//]: # ( lockUnicode += enterprise_monochrome(tokenFunctionPersonal, keyVirtual,)
[//]: # ()
[//]: # ( adf);)
[//]: # ()
[//]: # (})
[//]: # ()
[//]: # (windows_binary_esports(87734, array(restoreRomTopology, adRaw(407314),)
[//]: # ()
[//]: # ( dongleBashThumbnail), interpreter);)
[//]: # ()
[//]: # (```)
[//]: # ()
[//]: # ()
[//]: # (Sit volat naturam; motu Cancri. Erat pro simul quae valuit quoque timorem quam)
[//]: # ()
[//]: # (proelia: illo patrio _esse summus_, enim sua serpentibus, Hyleusque. Est coniuge)
[//]: # ()
[//]: # (recuso; refert Coroniden ignotos manat, adfectu.)