工具与资源anishathalye.com
用 1 美元硬件把 MacBook 变成触摸屏(2018)
Turning a MacBook into a Touchscreen with $1 of Hardware (2018)
2018 — 2021,它一次次回到首页
黑点是上首页(≥ 50 分)的那次投稿,空心点是没冲上去的投稿,点越大分数越高。
导读
这是 Anish Athalye 的博客文章,介绍如何用约 1 美元的硬件把 MacBook 变成触摸屏。核心思路是利用 MacBook 内置摄像头,通过捕捉手指触摸屏幕时产生的反射变化来检测触摸事件,而不是外加红外传感器等设备。文章详细记录了实现原理和过程。
为什么经久不衰:它用一个极低成本、脑洞大开的跨界方案(现有摄像头 + 屏幕反射)解决了看似需要专门硬件的问题,证明了掌握几个关键知识点就能做出没人想到的巧妙 hack,今天读来依然启发人。
HN 评论精选
原以为是红外传感器方案,实际用反射检测触摸事件,更巧妙。
我原本以为会是那种用红外传感器把电视变成触摸屏的设备,所以点进来想看看他们怎么做到这么便宜。结果发现这个方案好太多了。通过反射来推断触摸事件真的很酷。干得漂亮。
cletus查看英文原文
So I was expecting one of those sensors that can turn a TV into a touchscreen with like an IR sensor or something so I checked this wondering how they were so cheap. I was delighted to see this is so much better. Figuring out touch events from the reflection is really cool. Well done.
作者更新:后续版本用透明胶带和回形针替代了门铰链和纸盘。
我是这个项目的作者之一——我们后来对设计做了些迭代,去掉了对门铰链和纸盘的依赖。修订后的第三版设计改用透明胶带和回形针。
antimatter15查看英文原文
One of the authors of this project here— We actually iterated a bit on the design since then and removed the dependencies on door hinges and paper plates. The revised^3 design involves scotch tape and a paperclip instead. https://www.youtube.com/watch?v=h6tgFeBjhVg
光学触摸屏技术被低估,FlatFrog 利用玻璃内部反射变化实现,作者参与其定制芯片设计。
光学触摸屏!我认为这项技术被低估了。我曾参与 FlatFrog 显示系统的少量开发工作,它用类似方法但在玻璃内部,利用触摸会改变内部反射特性这一原理。我是参与定制芯片设计的合同 IC 设计师之一,该芯片部署在显示屏四周用于发光和测量,是一个带 ARM 协处理器的专用 DSP。
pjc50查看英文原文
Optical touchscreens! Underutilized technology, IMO. I had a very small part to play in the development of the FlatFrog display system which uses the same approach but inside the glass, using the fact that touching the screen alters the internal reflection properties. https://www.flatfrog.com/inglass I was one of the contract IC designers involved in the custom chip which is deployed all round the display to illuminate/measure. A little single-purpose DSP with an ARM on the side.
希望苹果提供触摸屏选项,主要用于在笔记本上跑 iOS 模拟器获得触摸体验。
我真希望苹果能至少作为升级选项让我买到触摸屏 MacBook。我完全不在乎触摸版 macOS,我只想在旅行时能在笔记本上跑 iOS 模拟器,并获得像真手机那样的触摸体验。
headmelted查看英文原文
I really wish Apple would let me have a touchscreen MacBook at least as an upgrade option. I don't care at all about a touchscreen macOS, I just want to be able to run the iOS Simulator on the laptop when I'm travelling and have touch like I would on an actual phone.
历次讨论
同类还值得读
直接在浏览器中启动 Linux 内核
Boot a linux kernel right inside your browser.
Fabrice Bellard 的 JSLinux 页面,用 JavaScript 在浏览器里启动一个 Linux 内核,并提供一个可交互的终端环境。
工具与资源上首页 5 次 · 2011–2025bellard.orgHacker News 未公开功能与行为清单(2018)
A List of Hacker News's Undocumented Features and Behaviors (2018)
数据科学家 Max Woolf 整理的 Hacker News 未公开功能与行为清单,涵盖投票机制、排名算法、账号惩罚等社区运作细节。
工具与资源上首页 5 次 · 2019–2025github.comMapSCII:在终端中用盲文和 ASCII 渲染地图
MapSCII – Braille and ASCII map renderer for the console
MapSCII 是一个在命令行终端里渲染地图的开源工具,用盲文字符和 ASCII 字符把地理数据画成可交互浏览的字符地图。
工具与资源上首页 5 次 · 2017–2025github.com顶尖大学的免费在线课程
Free Online Courses from Top Universities
Open Culture 整理的一份免费在线课程合集,汇集了全球顶尖大学(如 MIT、斯坦福、耶鲁等)向公众开放的网络课程资源,涵盖音频、视频等多种形式。
工具与资源上首页 5 次 · 2010–2022openculture.com淘气字符串:容易引发用户输入问题的字符串清单
Naughty Strings: A list of strings likely to cause issues as user-input data
一个 GitHub 仓库,收录了大量容易让程序出问题的用户输入字符串,如特殊字符、emoji、SQL 注入片段、系统命令等,供开发者用于测试输入处理逻辑。
工具与资源上首页 4 次 · 2015–2020github.com