Sign In

Latest Articles

563 articles · Fresh posts aggregated from independent blogs across the directory.

JJosh W. ComeauJosh W. Comeau·May 26, 2026

CSS vs. JavaScript

There are a bunch of JavaScript animation libraries out there, and you might have wondered whether there’s a performance cost compared to traditional CSS transitions and keyframe animations. In this blog post, we’ll compare the same animation across several d…

joshwcomeau.comRead article
超超能小紫超能小紫·May 25, 2026

CoStrict Router v0.3 —— 第三方 CoStrict 接口转发工具

公司采购了 CoStrict,打开一看国产主流大模型挺全的,正打算好好把玩一番却发现官方只支持 VSCode 插件,于是连夜撸了个转发工具,顺便开源了 😋 costrict-router 是一个第三方的 CoStrict 接口转发工具,它可以将任意 OpenAI 兼容(Chat Completions)的请求转发到你指定的私有化 CoStrict 服务端上 你可以把它理解成一个 本地 CoStrict 入口:登录一次后,后续只需要把 Agent 工具的 Base URL 指向本地地址即可 🔗 http

云云风的 BLOG云风的 BLOG·May 23, 2026

缺氧和异星工厂的比较

缺氧(Oxygen Not Included, ONI)和异星工厂(Factorio)都是自动化领域的神作,它们在 Steam 上都有自动化、基地建设、资源管理的标签,可见游戏体验上有相当多的相似之处。玩家群体也高度重合。但是什么造就了它们的独特性?而不会像 Satisfactory 或戴森球计划之于异星工厂那样,有着深深的同类基因。 从游戏核心上看: 缺氧把玩家放在一个有限资源的环境下,一切都是资源转换。玩家玩游戏是一个熵治理过程,把无序变为有序。除了玩家的主动行为,还有丰富的、半随机的、环境自然推演。缺氧的物…

blog.codingnow.comRead article
一个简单的缺氧地热模块
云云风的 BLOG云风的 BLOG·May 16, 2026

一个简单的缺氧地热模块

又玩了半个月的缺氧,目前累积游戏时间已达 645 小时,感觉对这个游戏有了更多理解。 我重新开了一盘,尝试用纯仿生人开局,依旧是保持 3 个初始小人开荒。仿生人不用吃食物,三个周期集中做一次呼吸,只要解决了能源问题,玩起来还是很舒服的。但仿生人需要定期上油,基本的方案是用排泄的残渣油做成润滑膏自循环。但我在查配方表的时候发现:润滑膏其实可以裂解成石油,而润滑则可以用菌泥榨成植物油替代。这样,似乎就多了一种方法在游戏初期拿到石油。 在我的理解中,缺氧的石油在开荒期的主要用途是做精炼金属的冷却剂,配合蒸汽机可以做到净…

blog.codingnow.comRead article
JJosh W. ComeauJosh W. Comeau·Apr 28, 2026

Scroll-Driven Animations

The new Animation Timeline API allows us to create dynamic scroll animations without any JavaScript! It’s honestly a very lovely API, and in this blog post, we’ll explore some of the super cool things we can do with it.

joshwcomeau.comRead article
超超能小紫超能小紫·Apr 14, 2026

哀鸿这游戏好啊

《哀鸿》这游戏好啊,好就好在让我真正意识到自己还不够冷静、还是头一热就要开动的本质。还是要多提升自己的知识水平

JJosh W. ComeauJosh W. Comeau·Apr 13, 2026

Squash and Stretch

Have you ever heard of Disney’s 12 Basic Principles of Animation? In this tutorial, we’ll explore how we can use the very first principle to create SVG micro-interactions that feel way more natural and believable. It’s one of those small things that has a big…

joshwcomeau.comRead article
JJosh W. ComeauJosh W. Comeau·Mar 23, 2026

Sneaky Header Blocker Trick

There is a lil’ UI detail on this blog. Most people don’t even notice it, but the ones who do often reach out, asking how on earth it works. It feels like it defies the rules of CSS! In this blog post, I’ll break down the surprisingly-straightforward implemen…

joshwcomeau.comRead article

Page 14 of 32 · 563 articles