help i accidentally a wigglegram
摘要
文章先解释 wigglegram 是一种把多个略有视角差异的照片循环播放、制造立体感的 GIF 效果。作者因为拍照时习惯对同一构图连拍很多张,又长期不清理相册,于是意识到自己的 iCloud 照片库里其实积累了大量 “误拍” 的 wigglegram 素材。随后他利用 perceptual hashing(类似 TinEye 的反向图片搜索思路)给照片做哈希,通过比较哈希间的 hamming distance 找出相似图片序列,再自动抽取并拼接成动画。文中展示了大量生成结果,包括旅行照片、动物、设计草图、雕塑等;很多并非刻意拍摄,因此呈现出的效果有时更像短小的动态片段而非标准立体图。最后作者提到已将脚本放到 Github,可直接处理 Mac 上的 iCloud 照片库或指定图片目录。
荐读理由
iCloud 照片库哈希找相似帧,hamming 阈值拉 wigglegram 自动提取可试用
原文
help i accidentally a wigglegram
Do you know what a wigglegram is?
↳ c. "suavecorn" on reddit
It is a kind of stereo image you make by looping frames together, like as a GIF.
↳ c. "aka_hochstapler" on reddit
The effect is quite convincing.
↳ c. "suavecorn" on reddit
I am something of an indecisive photographer and when I like an angle I will take a lot of frames, from slightly different angles etc., looking for "the shot". And since I am also a bit of a hoarder I never clear out my camera roll.
"Same shot from different angles"? You know what that sounds a bit familiar.
↳ scrollin'
Sure enough my phone is full of wigglegrams that I took by accident. Years' worth, waiting for me to sit down and stitch them together.
Or, perhaps, for something to stitch them together. It occurred to me last weekend that I can use perceptual hashing - what TinEye (et al.) uses for reverse image search - to try and find runs of similar images and pull them out from my library automatically. So I wrote a little script to hash all my pictures:
↳ slowly, slowly
Hashing is quick but downloading photos from iCloud is not.
The result is a hash that - unlike a cryptographic function like sha1 - will share more bits with hashes of similar-looking images than with dissimilar ones. We can use that to calculate the hamming distance between pairs of images and find a threshold:
↳ ten seems like a good boundary
And extract pairs:
↳ plausible...
And hundreds of wigglegrams spew forth.
↳ space mountain?
↳ block island
↳ deland
↳ probably also disney?
A few of them I am guilty of taking intentionally. But most are true accidents. As such many of them come out as less "stereoscopic" and more "kinescopic" - like little unintentional movies.
↳ notting hill
↳ perugia
Animals are a natural fit for the concept, unpredictable as they are:
↳ cat
↳ another cat
↳ dog
↳ pigeon
Design-work also. (I am always indecisive.)
↳ ipad sidecar I should write on
↳ baby book
↳ same but doing a rad flip
↳ resistor bridge
↳ leg in pieces
And sculpture:
↳ olivetti
↳ charlotte?
↳ frog with a joint
What fun. I have the script up on Github if you want to play with it - it'll work on your iCloud photos library if you're on a Mac, or you can point it at a directory of pictures otherwise.
Cheers~
↳ and happy birthday ig
home ~ posted june 04 2026
这条对你有帮助吗?

























