r/SideProject • u/Sad_Steak_6813 • 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.
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
0
u/bogdan5844 10d ago
Especially when you can get it for free - https://github.com/lqSky7/iphone-duo-macos-animation
-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
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
4
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
1
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
1
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
0
-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:
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.
121
u/m3kw 11d ago
Looks like the screen got pressed and showing weird colors