用绘图仪制作全息图
Making holograms with a pen plotter

原始链接: https://blog.jordan.matelsky.com/Penplotter-holography/

作者探讨了使用绘图仪制作“手工蚀刻全息图”的过程。通过改造一台购自 eBay 且性能不稳定的绘图仪,在塑料 CD 盒上蚀刻图案,作者展示了物理纹路如何通过操纵光线来制造 3D 深度错觉。 其核心洞察在于:光反射在曲面上的速度和移动轨迹与该曲线的半径成反比,这模拟了现实物体相对于观察者的移动方式。通过绘图仪将场景“渲染”为特定的、经数学计算的曲线,作者制作出了能投射 3D 图像的反射表面。 尽管材料选择颇具挑战(塑料层压板和蜡纸均以失败告终,最终在亚克力上取得成功),但作者通过尖头刻针和点光源成功实现了全息效果。虽然技术上并不复杂,但该过程产生的视觉错觉令人惊叹,证明了无需昂贵的激光设备,也能在家里复刻高端物理实验。作者总结道,这种直观的全息摄影方法既充满魔力,又是古代文明可能触及的技术,突显了利用简单工具探索物理之美。

最近的一篇 Hacker News 帖子讨论了 Matelsky 发表的文章,内容关于如何利用绘图仪制作全息图。 讨论强调了该项目的吸引力,将其实验精神与“旧互联网”时代的创造性折腾相提并论。用户们澄清说,作者是使用绘图仪在塑料 CD 盒上刻出图案,而非处理油,油仅仅是用来解释折射基本原理的类比。 参与者还指出该项目与 20 世纪 90 年代流行的一种技术——“磨蚀全息术”(abrasion holography)相似,并探讨了潜在的改进方法,例如用针代替笔以获得更高的精度,或者集成压电盘扫描仪以进行更高分辨率的绘图。社区普遍称赞了该项目的独创性,并链接了更多教育资源(如 Steve Mould 的讲解视频),以帮助新手理解全息图背后的物理学原理。
相关文章

原文

I have a pen-plotter! It’s great. It’s like having a printer but slow and it breaks more often. I got it on eBay and it came sorta broken and I immediately spent the difference between what I paid and the price of new one fixing it. Now it’s fixed!

My favorite thing to do with the pen plotter is to create things that I wouldn’t be able to create on, say, a printer, or by hand. Sometimes that’s because the medium is different; for example, these gold ink postcards I made of an Iguanodon fossil:

But recently, I’ve gotten excited about using the pen plotter to make holograms.

You could derive hand-drawn holograms from scratch

William Beaty has an amazing page about how to make holograms by hand and it includes intuitive explanations of the optics behind them. You can read this page for an awesome explanation of why hand-drawn holograms work and what makes them so effective.

But instead, I want to show you how you could understand hand-drawn etch-holograms entirely intuitively and de novo, without any prior knowledge of holography, and without any math. It all starts with greasy fingers.

1. Greasing your fingers

I selected a nice extra virgin olive oil for this, but you can substitute for vegetable or coconut, to taste.

It was a truly bizarre experience deliberately smearing my fingers with oil and then touching my phone screen. Try it! Rules are made up!

You’ve probably seen a similar smudge before on your own phone. You get these little “highlights” where the light reflects off a particular part of the smudge. On the right side I’ve drawn a schematic of what’s happening: the light finds a path from the light source to your eye that bounces off somewhere along the ridges left by your fingerprint.

Now I’m going to draw a different pattern:

As I move the camera around the phone, the highlight of the streak moves.

We can steer that! That’s the key insight of hand-etched holography: the curvature of the reflective ridges determines the direction and speed of movement of this “virtual image” highlight.

This is the same phenomenon as the rainbow pizza-slice on CDs, and what windshield-wiper “streaking” is: the light is bouncing off a particular part of the smudge and into your eye, and as you move your head, the light bounces off a different part of the smudge. Thanks to two random Facebook users for posting these.

2. Applying the insight to holography

The reason we can control the direction and speed of the highlight is that the highlight moves less relative to your head when the radius of curvature of the ridge is steep, and it moves more when the radius of curvature is shallow:

In this video, I first move the light source around shiny rings (a low-fi hologram!) and the glare on the rings moves at different speeds. And then I move the camera around a set of spheres; the “virtual image” points of the hologram have the same apparent motion as the real spheres!

In other words, our reflective ridges have a highlight glare that moves at a speed that is inversely proportional to the radius of curvature of the ridge — just like how objects in the real world appear to move slower when they’re further away.

3. Pen-plotting

This means we now have a way to draw a 3D scene that actually communicates depth information to the viewer. To put this into practice, we will “render” a scene such that each point becomes a reflective ridge with a radius of curvature that is inversely proportional to the distance of the point from the camera.

Math, briefly. You have my permission to skip this box. I’m glossing over a ton of math and debugging here — code’s on my GitHub if you want to see it — but the basic idea is that each point that we want to render becomes, roughly, a hyperboloid section:

\[x = d · tan(θ)\] \[y = d · sec(α) · (sec(θ) − 1)\]

Where \(d\) is the distance of the point from the image plane, \(θ\) is viewer angle across the horizontal, and \(α\) is the light angle relative to the plane normal.

If you didn’t like that sentence, ignore it — I will not do math again in this post.

I’ll show a few failed attempts below, but first, some cool shots of this working:

Some Fails

I wasn’t sure what materials to use to get started. My first try was to use a clear plastic “lamination” sheet from the office supply store, which was a total fail, mainly because the plastic was too flexible and (1) moved when I was trying to etch it, and (2) it was too wavey to reflect light coplanar to the viewing angle.

Then I tried using a wooden stylus to etch those waxed sheets of colored paper that we used to draw on in elementary school; do you remember them? These were alright, but the volume of curves I needed to draw was too much for the paper to handle, and it wound up tearing and crumpling.

The material that finally worked was an old CD jewel case. I wound up going on eBay and buying a bunch of them for a few dollars. I don’t know what I expected, but I was sort of assuming I was buying new jewel cases. Instead I got a huge box of old and dirty used ones. Weird! But also… Okay I guess!

Lessons Learned

The results so far are a bit underwhelming on camera, but to me, sitting with a flashlight in my pitch black closet and moving my head around like a pigeon, the effect of the first working hologram was magical. I still think the Stanford Bunny example above looks like a truly cool piece of art!

There are a lot of lessons learned. For instance, I needed something pretty narrow and pretty sharp to get the etching to work. My dad gave me a hooks/picks set from (I think) Harbor Freight, and the pokiest straight pick (seen with an orange handle in the videos above) worked great on the CD jewel cases, but totally annihilated the papers I tried.

The light also needs to be a point-source; this is a major difference from “rainbow” holograms or white-light holograms, which work fine in ambient light. Basically, the wider the source of light, the wider the virtual image points get, and the less depth information is communicated. Reflect a flashlight directly into your eyeballs! That’s what I did. The illusion works best when the main glare of the point source light is just above the top of the etches.

I think I’m still not quite out of the woods on material choice, either. The more etches I make on the jewel cases, the better the results seem to be, but also the rougher the surface becomes, and with high enough sampling, the etched region just becomes a big matte blob. I have a back-of-mind notion that I should try a diamond-tipped stylus, but I sure don’t want to spend that kind of money on a not-cool-yet project! Do you have one laying around that you want to give me?

Are these really holographic?

As far as I’m concerned, they have the main characteristic of a hologram that I care about, which is that even relatively small cutouts of the hologram retain a complete copy of the scene. This isn’t a formal definition — it’s just the fact about holograms that I like the most.

Beaty makes an excellent argument for why you should consider these holograms and I certainly won’t do a better job. But if you feel strongly that these are not holograms, then find for me a better name and you can call them that thing. I just think they’re neat!

Whatever they’re called, I think it is a beautiful thing that — like Gabor who first described holography — we have all the equipment we need to explore these physics phenomena without expensive lasers or optical tables.

Finally — something that gives me (good! excited!) shivers. From Beaty’s page:

P.S. The required tools are so simple that ancient peoples could have drawn these images in hardened sooty resin pools with wooden tools, had they but known the trick. Several ancient civilizations were heavily into geometry. I wonder if any artifacts exist in storage somewhere which appear to have some ‘sandpaper marks’ on their polished surfaces… ;)

Now if that isn’t a cool thought, I don’t know what is.


联系我们 contact @ memedata.com