I know the effect makes more sense on the iPhone Duo because of the dual screen, but I wanted something similar on the MacBook: the lid looks like a portal to the real screen. The only app I found that does this charges for it, so it felt like a good thing to ask Astra to build, and I made it OSS. Visual improvements or feature ideas are welcome.
I don't understand the appeal for this and why people want to bring this to devices where it doesn't make sense. For the Duo it makes sense since you're moving between two panes of glass and they want to show the effect that youre just transitioning to a bigger pane of glass, same content but expanded. Here i dont get it
Because the person found it fun is a valid reason. It’s kinda cool!
I’m pretty sure Apple will do this in macOS 28, and there are some details to improve (guessing from the animation, haven’t installed it). But, people can and should do things just for fun.
Yeah, I literally said in my comment that I'm aware it doesn't make much sense :) I agree with you! I just saw it on the Duo and fancied seeing it on my Mac. But if you try it, or watch the animation closely, you'll see I made some changes to the effect. For the Mac, my idea was that the lid is just a kind of window into a fourth-dimensional space where the actual screen lives. When you open the lid, you're moving it closer to this "ethereal" screen until the two attach.
The animation doesn't work for me with Firefox on Android. The laptop is totally missing and instead it just shows a static image of a logon screen. I was very confused until I tried it in Chrome.
Yeah, I had my suspicion whether it would work universally. It uses WebGPU, fallbacks to WebGL2, and if that fails too it should fallback to a fixed image. Thanks for the heads up, I'll check it out over the weekend!
I understand there are grey areas in what you say, but I'm not a lawyer.
"Built with GPT-6 Astra" it may mean you asked "look at the iPhone Duo page and build me the folding effect but for the MacBook", or that you ideated how it should look, what tuning options should have, discuss performance optimizations, and so on.
I do make the distinction between those two, and for the latter, which was my case, I do think there's claimable copyright.
However, I'm not interested in claiming anything regardless I would have the right or not. What I do intend, is that if somebody else builds upon this work, they do it within the OSS space as well.
If that can be legally enforced or not, well I won't stress about it.
I didn't download it, but if the animation is exactly like it is on the site, then that is not accurate. I wish I had the design chops to explain what the issue is, but all I can say is on the iphone it looks like the phone moves around the screen, while here it looks like the screen has some sort of 'standing up' effect. Like it kinds skews or something.
That's true! On the Mac there's only one glass pane (the other half is the chassis/keyboard), so my idea was that the lid is just a kind of window into a fourth-dimensional space where the actual screen lives. When you open the lid, you're moving it closer to this "ethereal" screen until the two attach. As you close it, the screen stays fixed in that "virtual" space, so the angled glass distorts the light.
I'm aware it may not make sense physics-wise, eh. :)
reply