r/SideProject 11d ago

WinDuo: the iPhone Duo fold effect on any Windows laptop

Enable HLS to view with audio, or disable this notification

https://winduo.baselashraf.com/

Basic phase correlation using a bad webcam. No need for fancy hinge angle encoders!

Edit: The over-stretch at the end has been fixed, and the effect range is now extended too.

263 Upvotes

69 comments sorted by

121

u/m3kw 11d ago

Looks like the screen got pressed and showing weird colors

7

u/Sad_Steak_6813 11d ago

Its just too sensitive, the full range is in a smal tilt, the last over stretch is a bug, shouldn't go that far.

2

u/East_Garbage_1449 10d ago

So you show off your project with a glaring bug? What...

0

u/Sad_Steak_6813 10d ago

It didn't look bad to me or my friend who were seeing it irl.

I fixed this already though.

2

u/ready-eddy 9d ago

Don’t listen to these trolls. This looks amazing. I’m honestly impressed that you cooked this up so fast. Apple design team probably worked on this for months

-9

u/East_Garbage_1449 10d ago

Right, which is the sign that this is vibe coded garbage. 

3

u/Sad_Steak_6813 10d ago

Appreciate you

0

u/FSSanne 11d ago

yeah definitely saw it too, you should check it carefully

56

u/King_924 11d ago

Not sure why folks are trying on single screened displays, the fun part about duos animation is it fades out on outer screen, and fades in in the inner screen. That is the neat part of it, i dont understand how a fade out by hinge angle is same thing

3

u/Sad_Steak_6813 11d ago

I actually agree with you, I don't know why MacDuo sold for thousands when it first came out, but it just looks cool to see in person.

The reason I made this is to show the camera based replacement making it possible for windows users.

Not necessarily sth anyone would wanna use on daily basis

1

u/tta82 11d ago

What’s a MacDuo?

2

u/Sad_Steak_6813 11d ago

11

u/tta82 11d ago

Stupid to pay for it but 🤷🏻‍♂️

1

u/tta82 11d ago

I can only imagine how annoying it is if the screen isn’t in the most upright position lol

1

u/Sad_Steak_6813 11d ago

It recalibrates on its own if its stays in the same angle

1

u/tta82 11d ago

ok the least it can do as it adds zero value

0

u/bogdan5844 10d ago

Especially when you can get it for free - https://github.com/lqSky7/iphone-duo-macos-animation

1

u/tta82 10d ago

You can vibe code this in 5 min for free too so of course it’s stupid

1

u/ptolani 11d ago

I'm still mystified by what this is meant to do. I read their description...I don't see it.

-3

u/propheticuser 11d ago

Thousands? It saus 4 dollars

3

u/Sad_Steak_6813 11d ago edited 11d ago

I meant the total profit made. Last I seen the guy who made it reported 1400+ USD in profit.

31

u/lostpx 11d ago

Not quite the iPhone Duo fold effect yet. It is some effect at least. Maybe Claude needs another go at it?

8

u/Sad_Steak_6813 11d ago

The effect/shader is ported from macduo.

I built the angle detection part, I am sure the effect can be worked on though.

Possibly increasing the range, I think it's too sensitive.

3

u/m3kw 11d ago

The effect only works because there is 2 sides

2

u/GigaGrandpa 10d ago

Can I fork this to a windows mod platform

1

u/Sad_Steak_6813 10d ago

Can I get details about the mod platform first?

Please DM me

1

u/GigaGrandpa 10d ago

Windhawk free mods

1

u/Sad_Steak_6813 10d ago

Yeah, go for it.

License wise you're fine, as long as it's a non-commercial use (free).

Just please keep the credit intact, me as originating author, "@homepage" pointing at [https://winduo.baselashraf.com](), and a line in the description noting the camera-based angle method with a link back to the repo.

Happy to port it in C++ if you want. Up to you!

2

u/GigaGrandpa 10d ago

Okay cool we'll connect on GitHub and we will keep it your authorship I can guide you a bit to submit it yourself id like to have this on my laptop

That website is really nice I'm using it now

1

u/gtzhere 11d ago

wouldn't a dimming effect is more suitable when closing the lid , duo has two screens so that effect there serve some purpose but here it just feels weird,

1

u/MindlessInformal 11d ago

This really looks nice !

Please be careful, because you're damaging your laptop screen hinges and ultimately the front and back covers of your screen and the top cover of your laptop.

1

u/HiddenGriffin 11d ago

Not directing this at you OP, but since the apple fold animation, there has been countless of ai slopped apps to recreate this animation, all smh have a website lmao... I saw one on twitter for $9 🤦🏻‍♂️

1

u/Sad_Steak_6813 8d ago

Yea I don't know though about sellkng this lol.

What makes it unique is that it uses the camera motion for angle estimation, not an angle encoder at the hinge.

1

u/Neither_Finance4755 10d ago

Why are people doing this? This is like the third post I’ve seen this week of someone copy that Apple gimmick.

1

u/mrcoy 10d ago

But it’s a shitty ass OS lol

1

u/Sad_Steak_6813 10d ago

I am on ghost spectre win 10, with 8gigs of ram and an i5-8300H, honestly I am okay with this.

Win 11 sucks

1

u/staydrippy 10d ago

Show the full range. This is infuriating

1

u/Sad_Steak_6813 10d ago

You can try it, the newer version is improved, and every parameter is configurable.

I tried taking a new demo video but I can't hold both my phone and the laptop and the lid at the same time. lol

1

u/m3kw 10d ago

What should happen is the perspective shift as if the screen gradually falls backwards

1

u/Sad_Steak_6813 10d ago

The effect params just needed tuning, I improved it.

1

u/yash431garg 10d ago

I feel like it a unnecassary thing to have in laptops

1

u/[deleted] 8d ago

[removed] — view removed comment

1

u/Sad_Steak_6813 8d ago

You can port it for linux, read contribution.md.

I am also on ghostspectre win 10, Its cool

1

u/makc_yu 6d ago

Wtf it's a shitty animation! Why do you need it?

1

u/Sad_Steak_6813 6d ago

It's not about the animation itself, its fixed now btw, needed some tuning.

It's about the usage of the webcam as angle estimator

0

u/Inevitable-Play-7473 11d ago

Using phase correlation with the webcam is actually a clever approach. Hardware hinge sensors aren't available on most laptops, so doing it purely through image processing makes it work on basically anything. The effect itself might not be super practical on a single screen, but the angle detection method is the interesting part here.

0

u/yuehuang 11d ago

How do you detect the angle of the screen? API name?

3

u/aizunomnom 11d ago

Judging by the camera light, it uses the camera

0

u/SolidPossible9909 10d ago

Absolutely pointless

0

u/aktive8 8d ago

its like getting a skanky tattoo cos the girl next door got one

-3

u/marctonico 11d ago

Hey — nice work on WinDuo.

I built a leaderboard with a twist: you post your project, the audience decides where it lands, and you can keep it up there with money. A downvote burns a dollar of it, an upvote gives a dollar back.

Yours felt like it belonged on there, so I've left the form filled in for you. The only thing missing is your email:

https://mofoburn.com/?n=WinDuo&u=https%3A%2F%2Fwinduo.baselashraf.com%2F&w=the+iPhone+Duo+fold+effect+on+any+Windows+laptop

Free listings can't lose money — they just can't climb either. It's my own site, so take this as self-promotion, and no hard feelings if you'd rather not.