---
title: "X 归档 2023-01-11"
date: "2023-01-11"
tags:
  - x-archive
  - frontend
---

<div class="x-arch-meta">9 条动态 · 图 7 · 视频 5</div>
<div class="x-arch-day">
  <div class="x-arch-item">
    <input type="radio" name="xl-1612847581805301761" id="xl-1612847581805301761-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1612847581805301761" id="xl-1612847581805301761-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/1703999923153436672/CsOAxp9d_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/devongovett" target="_blank" rel="nofollow noopener" data-name="Devon Govett" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1703999923153436672/CsOAxp9d_bigger.jpg">@devongovett</a><span class="x-arch-time">00:23</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1612847581805301761-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1612847581805301761-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/devongovett/status/1612847581805301761" 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">Experimenting with an API for defining how to parse custom at rules in Lightning CSS. Kinda cool? 🤔</div>
    <div class="x-arch-text x-arch-trans">正在试验一个 API，用于定义在 Lightning CSS 中如何解析自定义 at 规则。挺酷的吧？🤔</div>
    <div class="x-arch-media">
      <a href="/cdn-media/x/2026-10/1612847581805301761-1.jpg" target="_blank" rel="noopener"><img class="x-arch-img" src="/cdn-media/x/2026-10/1612847581805301761-1.jpg" alt="@devongovett 的配图 1/1" loading="lazy" decoding="async" width="1250" height="722" /></a>
    </div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1612864599052750848" id="xl-1612864599052750848-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1612864599052750848" id="xl-1612864599052750848-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/1853481766146719745/VY-xvV0c_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/GabrielVergnaud" target="_blank" rel="nofollow noopener" data-name="Gabriel Vergnaud" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1853481766146719745/VY-xvV0c_bigger.jpg">@GabrielVergnaud</a><span class="x-arch-time">01:31</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1612864599052750848-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1612864599052750848-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/GabrielVergnaud/status/1612864599052750848" 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">TS-Pattern's inference just got a bit smarter!<br /><br />✅ Unreachable branches do not type-check anymore<br />✅ `.with ` and `.otherwise` inherit type narrowing from previous branches<br />✅ ~15% type-checking performance improvement<br /><br />Release note 👉 <a href="https://github.com/gvergnaud/ts-pattern/releases/tag/v4.1.2" target="_blank" rel="noopener">https://github.com/gvergnaud/ts-pattern/releases/tag/v4.1.2</a></div>
    <div class="x-arch-text x-arch-trans">TS-Pattern 的类型推断变得更聪明了一点！<br /><br />✅ 不可达的分支不再能通过类型检查<br />✅ `.with ` 和 `.otherwise` 会继承前面分支的类型收窄<br />✅ 类型检查性能提升约 15%<br /><br />发布说明 👉 <a href="https://github.com/gvergnaud/ts-pattern/releases/tag/v4.1.2" target="_blank" rel="noopener">https://github.com/gvergnaud/ts-pattern/releases/tag/v4.1.2</a></div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2023-01/1612864599052750848-poster.jpg" src="/cdn-media/x/2023-01/1612864599052750848-video.mp4" width="1022" height="710" data-duration="48" aria-label="@GabrielVergnaud 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1612885818594693120" id="xl-1612885818594693120-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1612885818594693120" id="xl-1612885818594693120-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/1082589000479752192/mObYMtb2_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/HelloJcToon" target="_blank" rel="nofollow noopener" data-name="JcToon" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1082589000479752192/mObYMtb2_bigger.jpg">@HelloJcToon</a><span class="x-arch-time">02:55</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1612885818594693120-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1612885818594693120-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/HelloJcToon/status/1612885818594693120" 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">New 8KB animation using @rive_app . In this case, I use a more complex rig and different animations. Also, have a state machine to switch between the musicians.</div>
    <div class="x-arch-text x-arch-trans">用 @rive_app 制作的全新 8KB 动画。这次我用了更复杂的骨骼绑定（rig）和多段不同的动画。还有一个状态机用来在乐手之间切换。</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2023-01/1612885818594693120-poster.jpg" src="/cdn-media/x/2026-10/1612885818594693120-video.mp4" width="720" height="720" data-duration="15" aria-label="@HelloJcToon 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1612902329170141198" id="xl-1612902329170141198-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1612902329170141198" id="xl-1612902329170141198-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/1623753178792460291/XVVNwqv-_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/partykit_io" target="_blank" rel="nofollow noopener" data-name="PartyKit" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1623753178792460291/XVVNwqv-_bigger.jpg">@partykit_io</a><span class="x-arch-time">04:00</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1612902329170141198-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1612902329170141198-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/partykit_io/status/1612902329170141198" 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">still wanted to ship something today, so here's a demo of the monaco code editor + y-partykit. wooo collaborative code editors done easy.</div>
    <div class="x-arch-text x-arch-trans">今天还是想发布点什么，所以带来了 monaco 代码编辑器 + y-partykit 的演示。哇哦，协作代码编辑器轻松搞定。</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2023-01/1612902329170141198-poster.jpg" src="/cdn-media/x/2026-10/1612902329170141198-video.mp4" width="1552" height="720" data-duration="23" aria-label="@partykit_io 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1612977616306200576" id="xl-1612977616306200576-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1612977616306200576" id="xl-1612977616306200576-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/965775897193275398/LLrUTVUs_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/PR0GRAMMERHUM0R" target="_blank" rel="nofollow noopener" data-name="Programmer Humor" data-avatar="https://twimg.tweb.xin/twimg/profile_images/965775897193275398/LLrUTVUs_bigger.jpg">@PR0GRAMMERHUM0R</a><span class="x-arch-time">09:00</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1612977616306200576-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1612977616306200576-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/PR0GRAMMERHUM0R/status/1612977616306200576" 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">Joke of the year <a href="https://www.reddit.com/r/programmerhumor/comments/108lieg" target="_blank" rel="noopener">https://www.reddit.com/r/programmerhumor/comments/108lieg</a></div>
    <div class="x-arch-text x-arch-trans">年度笑话 <a href="https://www.reddit.com/r/programmerhumor/comments/108lieg" target="_blank" rel="noopener">https://www.reddit.com/r/programmerhumor/comments/108lieg</a></div>
    <div class="x-arch-media">
      <a href="/cdn-media/x/2026-10/1612977616306200576-1.jpg" target="_blank" rel="noopener"><img class="x-arch-img" src="/cdn-media/x/2026-10/1612977616306200576-1.jpg" alt="@PR0GRAMMERHUM0R 的配图 1/1" loading="lazy" decoding="async" width="733" height="554" /></a>
    </div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1613012263207854081" id="xl-1613012263207854081-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1613012263207854081" id="xl-1613012263207854081-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/1276240813333401600/brd0hSfW_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/bramus" target="_blank" rel="nofollow noopener" data-name="Bramus" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1276240813333401600/brd0hSfW_bigger.jpg">@bramus</a><span class="x-arch-time">11:17</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1613012263207854081-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1613012263207854081-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/bramus/status/1613012263207854081" 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">🤩 Chrome Canary 111.0.5530.0 introduces support for complex `:nth-child` selections in CSS!<br /><br />By passing a selector-list into `:nth-child` you can select the nth child that matches that selector.<br /><br />Eg. you can select “the 2nd item with the class .bar” using `:nth-child(2 of .bar)`</div>
    <div class="x-arch-text x-arch-trans">🤩 Chrome Canary 111.0.5530.0 引入了对 CSS 中复杂 `:nth-child` 选择的支持！<br /><br />通过向 `:nth-child` 传入一个选择器列表，你可以选中匹配该选择器的第 n 个子元素。<br /><br />例如，可以用 `:nth-child(2 of .bar)` 选中“带 .bar 类的第 2 个元素”</div>
    <div class="x-arch-media">
      <a href="/cdn-media/x/2023-01/1613012263207854081-1.jpg" target="_blank" rel="noopener"><img class="x-arch-img" src="/cdn-media/x/2023-01/1613012263207854081-1.jpg" alt="@bramus 的配图 1/1" loading="lazy" decoding="async" width="1822" height="1798" /></a>
    </div>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1613077178119249927" id="xl-1613077178119249927-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1613077178119249927" id="xl-1613077178119249927-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/1371486708479393792/Nh3P90Ps_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/surjithctly" target="_blank" rel="nofollow noopener" data-name="Surjith S M ✪" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1371486708479393792/Nh3P90Ps_bigger.jpg">@surjithctly</a><span class="x-arch-time">15:35</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1613077178119249927-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1613077178119249927-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/surjithctly/status/1613077178119249927" 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">Did you know? ✨<br /><br />You can use &quot;group&quot; class to create some cool card hover effect in @tailwindcss <br /><br />View code 👇<br /><a href="https://play.tailwindcss.com/eCfibrSI2X" target="_blank" rel="noopener">https://play.tailwindcss.com/eCfibrSI2X</a><br /><br />(3/30) follow for 27 more tips 😊</div>
    <div class="x-arch-text x-arch-trans">你知道吗？✨<br /><br />在 @tailwindcss 中可以用 &quot;group&quot; 类做出很酷的卡片悬停效果<br /><br />查看代码 👇<br /><br />(3/30) 关注获取另外 27 个技巧 😊</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2023-01/1613077178119249927-poster.jpg" src="/cdn-media/x/2026-10/1613077178119249927-video.mp4" width="960" height="720" data-duration="8" aria-label="@surjithctly 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1613090946786426880" id="xl-1613090946786426880-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1613090946786426880" id="xl-1613090946786426880-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/1957157040565952512/EL3Y3JR8_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/michalzalobny" target="_blank" rel="nofollow noopener" data-name="Michal Zalobny" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1957157040565952512/EL3Y3JR8_bigger.jpg">@michalzalobny</a><span class="x-arch-time">16:30</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1613090946786426880-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1613090946786426880-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/michalzalobny/status/1613090946786426880" 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">400k+ FBO-powered particles running at 60FPS with a bit of Perlin noise ✨<br /><br />Live: <a href="http://bit.ly/3W0YjlY" target="_blank" rel="noopener">http://bit.ly/3W0YjlY</a><br /><br />Based on many implementations of GPGPU I created my version of a simple particle engine using two swapping render targets<br /><br />#threejsJourney #glsl</div>
    <div class="x-arch-text x-arch-trans">40 万+ 个由 FBO 驱动的粒子以 60FPS 运行，再加一点 Perlin 噪声 ✨<br /><br />在线体验：<br /><br />参考了众多 GPGPU 实现，我用两个交换的渲染目标做出了我自己的简易粒子引擎<br /><br />#threejsJourney #glsl</div>
    <video class="x-arch-video" preload="none" playsinline poster="/cdn-media/x/2023-01/1613090946786426880-poster.jpg" src="/cdn-media/x/2026-10/1613090946786426880-video.mp4" width="1328" height="720" data-duration="16" aria-label="@michalzalobny 的视频"></video>
  </div>
  <div class="x-arch-item">
    <input type="radio" name="xl-1613150577667592195" id="xl-1613150577667592195-zh" class="x-arch-lang-input x-arch-lang-input-zh" checked aria-label="显示译文" /><input type="radio" name="xl-1613150577667592195" id="xl-1613150577667592195-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/1853481766146719745/VY-xvV0c_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/GabrielVergnaud" target="_blank" rel="nofollow noopener" data-name="Gabriel Vergnaud" data-avatar="https://twimg.tweb.xin/twimg/profile_images/1853481766146719745/VY-xvV0c_bigger.jpg">@GabrielVergnaud</a><span class="x-arch-time">20:27</span><span class="x-arch-lang-switch" role="group" aria-label="切换原文/译文"><label for="xl-1613150577667592195-zh" class="x-arch-lang-opt x-arch-lang-zh">译</label><label for="xl-1613150577667592195-orig" class="x-arch-lang-opt x-arch-lang-orig">原</label></span><a class="x-arch-link" href="https://x.com/GabrielVergnaud/status/1613150577667592195" 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">The next chapter of Type-Level TypeScript — Advanced Union Types —  should drop next week on <a href="http://type-level-typescript.com!" target="_blank" rel="noopener">http://type-level-typescript.com!</a> <br /><br />Here is a sneak peek of a few of its illustrations 🤫</div>
    <div class="x-arch-text x-arch-trans">Type-Level TypeScript 的下一章 —— 高级联合类型（Advanced Union Types）—— 应该下周就会在  上线！<br /><br />先睹为快，奉上其中几幅插图 🤫</div>
    <div class="x-arch-media">
      <a href="/cdn-media/x/2026-10/1613150577667592195-1.png" target="_blank" rel="noopener"><img class="x-arch-img" src="/cdn-media/x/2026-10/1613150577667592195-1.png" alt="@GabrielVergnaud 的配图 1/4" loading="lazy" decoding="async" width="855" height="505" /></a>
      <a href="/cdn-media/x/2026-10/1613150577667592195-2.png" target="_blank" rel="noopener"><img class="x-arch-img" src="/cdn-media/x/2026-10/1613150577667592195-2.png" alt="@GabrielVergnaud 的配图 2/4" loading="lazy" decoding="async" width="705" height="314" /></a>
      <a href="/cdn-media/x/2026-10/1613150577667592195-3.png" target="_blank" rel="noopener"><img class="x-arch-img" src="/cdn-media/x/2026-10/1613150577667592195-3.png" alt="@GabrielVergnaud 的配图 3/4" loading="lazy" decoding="async" width="744" height="692" /></a>
      <a href="/cdn-media/x/2026-10/1613150577667592195-4.jpg" target="_blank" rel="noopener"><img class="x-arch-img" src="/cdn-media/x/2026-10/1613150577667592195-4.jpg" alt="@GabrielVergnaud 的配图 4/4" loading="lazy" decoding="async" width="975" height="812" /></a>
    </div>
  </div>
</div>
