---
title: "X 归档 2022-08-08"
date: "2022-08-08"
tags:
  - x-archive
  - frontend
---

<div class="x-arch-meta">6 条动态 · 图 3 · 视频 4</div>
<div class="x-arch-day">
  <div class="x-arch-item">
    <input type="radio" name="xl-1556357928176730113" id="xl-1556357928176730113-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1556357928176730113" id="xl-1556357928176730113-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/1653342726966980608/qNCeG9WK_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-liked" aria-label="赞" title="赞"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" /></svg></span><a class="x-arch-author" href="https://x.com/shuding" target="_blank" rel="nofollow noopener" data-name="Shu" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1653342726966980608/qNCeG9WK_bigger.jpg">@shuding</a><span class="x-arch-time">03:13</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1556357928176730113-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1556357928176730113-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/shuding/status/1556357928176730113" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">Another one, very subtle this time:<br /><br />{<br />  0% {<br />    mask: linear-gradient(90deg, #000 25%, #000000e6 50%, #00000000) 150% 0 / 400% no-repeat;<br />    opacity: .2;<br />  }<br />  100% {<br />    mask: linear-gradient(90deg, #000 25%, #000000e6 50%, #00000000) 0 / 400% no-repeat;<br />    opacity: 1;<br />  }<br />}</div>
    <div class="x-arch-text x-arch-trans">再来一个，这次非常含蓄：<br /><br />{<br />  0% {<br />    mask: linear-gradient(90deg, #000 25%, #000000e6 50%, #00000000) 150% 0 / 400% no-repeat;<br />    opacity: .2;<br />  }<br />  100% {<br />    mask: linear-gradient(90deg, #000 25%, #000000e6 50%, #00000000) 0 / 400% no-repeat;<br />    opacity: 1;<br />  }<br />}</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2022-08/1556357928176730113-poster.jpg" src="/cdn-media/x/2026-10/1556357928176730113-video.mp4" width="1278" height="720" data-duration="4" aria-label="@shuding 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1556420694770012160" id="xl-1556420694770012160-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1556420694770012160" id="xl-1556420694770012160-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/2044834926256869376/wSPwO0Dr_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-liked" aria-label="赞" title="赞"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" /></svg></span><a class="x-arch-author" href="https://x.com/ariesrclark" target="_blank" rel="nofollow noopener" data-name="Aries 🏳️‍⚧️" data-avatar="https://twimg.tweb.xin/twimg/profile_images/2044834926256869376/wSPwO0Dr_bigger.jpg">@ariesrclark</a><span class="x-arch-time">07:23</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1556420694770012160-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1556420694770012160-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/ariesrclark/status/1556420694770012160" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">@mattpocockuk An oversimplification of the TypeScript Compiler API for defining and generating source files. feel free to take a look. <a href="https://github.com/ariesclark/tanu.js" target="_blank" rel="noopener">https://github.com/ariesclark/tanu.js</a></div>
    <div class="x-arch-text x-arch-trans">@mattpocockuk 一个对 TypeScript Compiler API 的极简化封装，用于定义和生成源码文件。欢迎看看。</div>
    <div class="x-arch-media">
      <a href="/cdn-media/x/2026-10/1556420694770012160-1.png" target="_blank" rel="noopener"><img class="x-arch-img" src="/cdn-media/x/2026-10/1556420694770012160-1.png" alt="@ariesrclark 的配图 1/2" loading="lazy" decoding="async" width="686" height="243" /></a>
      <a href="/cdn-media/x/2026-10/1556420694770012160-2.png" target="_blank" rel="noopener"><img class="x-arch-img" src="/cdn-media/x/2026-10/1556420694770012160-2.png" alt="@ariesrclark 的配图 2/2" loading="lazy" decoding="async" width="606" height="287" /></a>
    </div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1556534734066372608" id="xl-1556534734066372608-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1556534734066372608" id="xl-1556534734066372608-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/1653342726966980608/qNCeG9WK_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-posted" aria-label="发" title="发"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z" /><path d="m15 5 4 4" /></svg></span><a class="x-arch-author" href="https://x.com/shuding" target="_blank" rel="nofollow noopener" data-name="Shu" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1653342726966980608/qNCeG9WK_bigger.jpg">@shuding</a><span class="x-arch-time">14:56</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1556534734066372608-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1556534734066372608-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/shuding/status/1556534734066372608" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">Another one, very subtle this time:<br /><br />{<br />  0% {<br />    mask: linear-gradient(90deg, #000 25%, #000000e6 50%, #00000000) 150% 0 / 400% no-repeat;<br />    opacity: .2;<br />  }<br />  100% {<br />    mask: linear-gradient(90deg, #000 25%, #000000e6 50%, #00000000) 0 / 400% no-repeat;<br />    opacity: 1;<br />  }<br />}</div>
    <div class="x-arch-text x-arch-trans">再来一个，这次非常含蓄：<br /><br />{<br />  0% {<br />    mask: linear-gradient(90deg, #000 25%, #000000e6 50%, #00000000) 150% 0 / 400% no-repeat;<br />    opacity: .2;<br />  }<br />  100% {<br />    mask: linear-gradient(90deg, #000 25%, #000000e6 50%, #00000000) 0 / 400% no-repeat;<br />    opacity: 1;<br />  }<br />}</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2022-08/1556534734066372608-poster.jpg" src="/cdn-media/x/2022-08/1556534734066372608-video.mp4" width="1278" height="720" data-duration="4" aria-label="@shuding 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1556570635551117312" id="xl-1556570635551117312-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1556570635551117312" id="xl-1556570635551117312-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/1330304284156686336/Jc6r2YPO_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-posted" aria-label="发" title="发"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z" /><path d="m15 5 4 4" /></svg></span><a class="x-arch-author" href="https://x.com/n_moore" target="_blank" rel="nofollow noopener" data-name="Nate Moore is on 🦋" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1330304284156686336/Jc6r2YPO_bigger.jpg">@n_moore</a><span class="x-arch-time">17:18</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1556570635551117312-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1556570635551117312-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/n_moore/status/1556570635551117312" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">My weekend hacking has resulted in another tiny but mighty tool... Introducing `ultrahtml`! 👑<br /><br />Bring the MDX `components` pattern to any HTML. It works in any JS environment and has a tiny 1.75kB footprint with zero dependencies.<br /><a href="https://github.com/natemoo-re/ultrahtml" target="_blank" rel="noopener">https://github.com/natemoo-re/ultrahtml</a></div>
    <div class="x-arch-text x-arch-trans">周末鼓捣又产出一个微型但强力的工具……隆重介绍 `ultrahtml`！👑<br /><br />把 MDX 的 `components` 模式带给任意 HTML。它可以在任何 JS 环境中运行，体积仅 1.75kB，零依赖。<br /><a href="https://github.com/natemoo-re/ultrahtml" target="_blank" rel="noopener">https://github.com/natemoo-re/ultrahtml</a></div>
    <div class="x-arch-media">
      <a href="/cdn-media/x/2022-08/1556570635551117312-1.jpg" target="_blank" rel="noopener"><img class="x-arch-img" src="/cdn-media/x/2022-08/1556570635551117312-1.jpg" alt="@n_moore 的配图 1/1" loading="lazy" decoding="async" width="1592" height="942" /></a>
    </div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1556573986850385920" id="xl-1556573986850385920-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1556573986850385920" id="xl-1556573986850385920-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/1965763555212308480/K1lyS8BY_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-posted" aria-label="发" title="发"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z" /><path d="m15 5 4 4" /></svg></span><a class="x-arch-author" href="https://x.com/barany6m" target="_blank" rel="nofollow noopener" data-name="Baran" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1965763555212308480/K1lyS8BY_bigger.jpg">@barany6m</a><span class="x-arch-time">17:32</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1556573986850385920-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1556573986850385920-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/barany6m/status/1556573986850385920" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">Here's another interactive UI I made.<br /><br />The gradient bloops are moving too!</div>
    <div class="x-arch-text x-arch-trans">这是我做的另一个交互式 UI。<br /><br />渐变小泡泡也会动哦！</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2022-08/1556573986850385920-poster.jpg" src="/cdn-media/x/2022-08/1556573986850385920.m3u8" width="480" height="852" data-duration="15" aria-label="@barany6m 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1556644475509899266" id="xl-1556644475509899266-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1556644475509899266" id="xl-1556644475509899266-orig" class="x-arch-lang-input x-arch-lang-input-orig" aria-label="显示原文" /><div class="x-arch-head"><img class="x-arch-avatar" src="https://twimg.tweb.xin/twimg/profile_images/1493939279256559622/iM1KTMLr_bigger.jpg" alt="" loading="lazy" referrerpolicy="no-referrer" /><span class="x-arch-kind x-arch-kind-liked" aria-label="赞" title="赞"><svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M19 14c1.49-1.46 3-3.21 3-5.5A5.5 5.5 0 0 0 16.5 3c-1.76 0-3 .5-4.5 2-1.5-1.5-2.74-2-4.5-2A5.5 5.5 0 0 0 2 8.5c0 2.3 1.5 4.05 3 5.5l7 7Z" /></svg></span><a class="x-arch-author" href="https://x.com/Anemolito" target="_blank" rel="nofollow noopener" data-name="Daniel Velasquez" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1493939279256559622/iM1KTMLr_bigger.jpg">@Anemolito</a><span class="x-arch-time">22:12</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1556644475509899266-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1556644475509899266-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/Anemolito/status/1556644475509899266" target="_blank" rel="noopener">原推文<svg class="x-arch-ext" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true"><path d="M7 7h10v10" /><path d="M7 17 17 7" /></svg></a></div>
    <div class="x-arch-text x-arch-orig">This is one of my favorite executions of motion in Webgl by @hellomondaycom <br /><br />Not only it's satifying to flip pages, but it supports and guides you through a powerful message! <br /><br />See it here: <a href="https://howtotalktowhitekidsaboutracism.com/" target="_blank" rel="noopener">https://howtotalktowhitekidsaboutracism.com/</a></div>
    <div class="x-arch-text x-arch-trans">这是我最喜欢的 @hellomondaycom 的 WebGL 动效作品之一<br /><br />翻页不仅令人满足，还支撑并引导你体会一个有力的主题！<br /><br />在这里看：</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2022-08/1556644475509899266-poster.jpg" src="/cdn-media/x/2026-10/1556644475509899266-video.mp4" width="720" height="720" data-duration="16" aria-label="@Anemolito 的视频"></video>
  </div>
</div>
