这里放一些我做过的小工具、实验和电路设计。项目不算同一种风格:有的是为了让游戏玩起来顺手一点,有的是想把一个算法或一段流程弄明白。
This is where I keep the tools, experiments and circuit designs I've worked on. Some make a game a little more comfortable to play; others are a way to understand an algorithm or work through how something fits together.
缩个窗口,还要来回调宽高?
AspectFit 是为《杀戮尖塔 2》做的 Windows Mod。拖动窗口任意一条边或一个角,宽高就会按所选比例一起变化。功能不大,解决的是小窗爬塔时反复调整窗口的麻烦。
Why adjust the width, then the height, every time?
AspectFit is a Windows mod for Slay the Spire 2. Drag any window edge or corner and both dimensions resize together, keeping the selected aspect ratio. A small change for playing in a smaller window with less fiddling.
源码 / Source · Steam Workshop · English demo · 中文演示
| 项目 / Project | 做了什么 / What it's about |
|---|---|
| SplitDesk Stereo | 把 Moonlight 客户端与 Windows 扬声器组成左右声道,可分别调音量并应用六段 EQ。 A two-device stereo mixer for Sunshine and Moonlight. |
| Japanese Rhinoceros Beetle | 可下载的独角仙 GLB 动画模型,含爬行和展翅预览。 An animated Japanese rhinoceros beetle model with walking and wing-opening previews. |
| FlaShop | 从分类、商品到注册登录,用一个本地商城练习 Flask、表单和数据库。 A local shop demo for working with Flask, forms, sessions and a database. |
| FlaGaze | 面向 ASD 相关视觉注意研究的眼动分析原型,当前提供坐标换算与合成点聚类演示。 A gaze-analysis prototype for ASD-related visual-attention research, with runnable coordinate transforms and synthetic clustering. |
| Optimization Notes | 从旅行商路线到数值函数,观察搜索方法怎样更新候选解。 Small experiments with route optimization and numerical search. |
| Circuit Designs | LED、流水灯、PCB 布局和鱼缸控制的四份 EDA 工程。 Four EDA projects covering lighting, board layout and aquarium control. |
| Ticket Browser | 一份 Selenium 流程练习,默认检查配置,订单交由用户手动核对。 A Selenium workflow exercise with offline configuration checks and manual order review. |
这些项目有各自的完成范围。代码入口、运行方法和还没做完的部分,都写在对应仓库里。
Each project has its own scope. The individual READMEs explain how to run it, how the files fit together, and what remains unfinished.
主要用到 Python,也会碰 C#、网页和电路。比起把项目写得很大,我更在意能不能说明白它做了什么、为什么这样做。
Mostly Python, with some C#, web development and circuit design along the way. I like projects whose purpose and moving parts are easy to explain.