Top
Best
New

Posted by gregsadetsky 2 days ago

Help I accidentally a wigglegram(lmao.center)
433 points | 103 comments
strickinato 5 minutes ago|
There's an additional "post processing" step that the article doesn't mention -- which is alignment of the images within the wiggle.

In the example images (which others have noted are stable horizontally) - This alignment gives some control over the parallax and has a very big effect on the quality of the 3D and the ultimate experience of the image.

If you put your mouse, for example, over the marlboro pack that is most directly facing the camera, you'll see it is perfectly stable relative to the screen (despite looking like it's wiggling). In the second image, this point is at the eye of the singer.

On the accidental images, which are also mostly not stable horizontally, this type of alignment can also have a very big impact. An extreme example of how this plays out can be seen in this image - which for example -- locks onto the face

https://strickgifs.tumblr.com/post/48624241536

(NB - like 12 years ago I used to do make a lot of wiggle images -- including spending some time making wigglegrams out of a set of 3D images of the 1906 San Francisco Earthquake & Fire -- https://thesanfranciscowiggle.com/)

aleyan 3 hours ago||
There are many ways of making wigglegrams. The first method is to capture multiple horizontally displaced shots together at once. There were cameras designed for this in the 80s that had 4 lenses, with the widest about eye width apart; the intent was for them to be printed as lenticular 3d images. The second is to have a single shot and then synthetically create additional perspective, such as by using a depth map.

I have done both of these. For the first one[0], I used a Nimslo 3D and for the second one[1] I drew with pastels on paper, and then drew a depth map in Photoshop and used it to displace pixels horizontally for the novel perspectives.

The OP's "accidental" wigglegrams are mostly of the first variety but, the horizontal allignment is not locked in and the shots were taken not at the exact same time. That's why the parallax effect isn't as strong and they don't look as good as the first 3 images that came from Nimso/Nishika.

What is intresting is that both of these two methods are relevant in the age of modern iphone. Iphones capture multiple exposures together in live photos, so moving the iphone laterally when shooting creates a "boomerang" wigglegram. Iphones also capture depth map from the LiDAR sensor when shooting in portrait mode.

Between increased hardware capability and genai for synthesizing additional perspectives, we could be living in a golden age of wigglegrams. Alas, they are out of style.

[0] https://fooladder.com/post/115435676962/at-the-concert [1] https://fooladder.com/post/61216111704/starry-venice

GL26 8 hours ago||
Found a guy on instagram who builds a custom stereoscopic camera with 4 identical pi cams spaced evenly (about 1 inch (2.54cm)) away from each other on a line. It creates wigglegrams https://k4mera.world/
ipsum2 3 hours ago|
Cool concept, but implementation is bad. The exposures vary so much between the separate shots it's giving a stroboscopic effect. Hopefully they fix it in later revisions.
scottshambaugh 12 hours ago||
I’ll shill a library I wrote to make wigglegrams & stereograms in matplotlib - I think pseudo-3D visualization is super underrated as a technique to understand data! mpl_stereo: https://github.com/scottshambaugh/mpl_stereo
JKCalhoun 6 hours ago||
That's cool. They work well. (I prefer the stereograms, but you need extra equipment to view those. I keep a stereo lens pair near my laptop though.)

If you pick up a digital stereo camera that creates .MPO files, I wrote a small app to create stereograms: https://github.com/EngineersNeedArt/Stereographer

Nevermark 7 hours ago||
i find it so easy to "switch" to 3D with pairs of images like this, it strikes me as strange that cheap stereo-3D isn't a standard interface element.

Other than getting used to making the switch, I don't think there is any cognitive load. Just pairing normal lens focus with a different triangulation distance, which is something we quickly learn to do without thinking when using any glasses or lenses.

I find it a lot more calming than Wiggle-D. And paired with some simple head/eye tracking via laptop cams, it could be really versatile.

The animated plots are great. Be great to have a trackpad rotatable version. (And the need/benefit for head tracking gets really obvious when I move. The perception of reverse/non-sensical dynamics is strong.)

layer8 3 hours ago||
Many people can’t, there is significant variation in how people’s visual systems work. I myself can’t anymore after my eyesight got worse.
nkrisc 3 hours ago||
The first ones shown are quite neat and pleasant. The "accidental" ones pretty quickly gave me motion sickness as I scrolled through them. They also weren't nearly as interesting, though I couldn't look at them for very long.
dredmorbius 2 hours ago||
The intentional ones tend to move along a horizontal plane, and in fairly uniform (or specifically-graded) steps.

The unintentional ones deviate on both bases, creating a more chaotic result.

("Creating chaos" being an interesting notion itself....)

nozzlegear 2 hours ago||
Yeah, I'm not prone to motion sickness, but that wigglegram with the iPad gave it to me instantly.
jannyfer 14 hours ago||
That was fun, and the script on github looks hand-written which is refreshing after having been reading AI-written code for months.

I have 120k photos in iCloud that I'm sure have duplicates (I exported my library to Google Photos years ago and exported it back to iCloud). The iOS duplicate detection stopped flagging duplicates for me to merge a while back. I gotta do something like this script...

xenophenes 34 minutes ago||
yeah there's something you can still feel in hand-written code - the variable names show how someone was actually thinking about the problem. AI code is grammatically perfect but quite hollow
mceachen 4 hours ago|||
If you're really wanting to do perceptual hash based deduplication, use multiple, heterogeneous hash algorithms (phash, dct hash, mean hash, ...) as it is likely that a given hash algo will happily lossily match with very very different images--but if all hashes match, you're much less likely to have false positives.

I wrote up what I do here: https://photostructure.com/guide/what-do-you-mean-by-dedupli...

Aboutplants 7 hours ago|||
Ah yes, artisanal code!
RetroTechie 9 hours ago||
> and the script on github looks hand-written which is refreshing after having been reading AI-written code for months.

We really need a short for "is it AI or not? has entered the discussion".

vova_hn2 4 hours ago||
Interestingly, the pixelization/noise effect is applied clientside, so if you open an image in a new tab, you can see the original. Originals look much better, in my opinion.
jakzurr 3 hours ago||
Whew... the continuous motion started triggering migraine symptoms until I closed the window.

But it does have a nice 3d effect. For me, the cycle speed seems excessive. I believe someone suggested tying wiggle effect to mouse movement?

andix 1 hour ago|
I still feel a bit dizzy a minute after closing the page.
rendaw 14 hours ago||
Somehow the extra motion seems to reduce the illusion of depth, it just seems like a disjointed animation to me.
MrGilbert 10 hours ago||
I agree. The first three from reddit work really well for me. I assume it's because of the fixed horizontal movement, and the fact that they are captured at the same moment from different angles. :)

The others are nice (but hectic) animations to me.

RobotToaster 8 hours ago|||
The ones from Reddit also have more frames, I'm guessing they were taken on on a Nishika 3-D camera.
rendaw 8 hours ago|||
Yeah, the first three work for me too. (just realized my original comment was kind of ambiguous)
ZiiS 12 hours ago|||
Intresting, I have a weak eye so rely less on stereo; these pop as much more 3d then a photo.
pjerem 10 hours ago||
Same. I have amblyopia and I'm really appreciating the effect. I think people's brain with "only one" eye rely a lot more onto perceptive and parallax effect for 3D perception.
rtkwe 3 hours ago||
The ones they generated weren't taken specifically to be wigglegrams so they don't work as well as intentional ones. The biggest problem is number of photos and the consistency of the direction of movement between each image and the next as well as consistent step sizes. They also tend to work better with horizontal movement compared to vertical probably due to it matching our eye layout but that's a guess.
zahlman 36 minutes ago|
> So I wrote a little script to hash all my pictures:

Would be nice to have the script, or at least the choice of perceptual hashing algorithm.

jamilton 9 minutes ago||
Script is linked at the end:https://github.com/JCLemme/wiggle-wiggle

And the hashing library used: https://pypi.org/project/ImageHash/

robobro 10 minutes ago||
Scroll down.... https://github.com/JCLemme/wiggle-wiggle
More comments...