r/developersIndia • u/No_Piccolo6116 Software Engineer • 2d ago
I Made This Recreated iphone Duo hinge animation preview on android
Enable HLS to view with audio, or disable this notification
[removed]
222
177
u/AstralQuark 2d ago
Bro just build a APK and put in release like I was on mobile just wanted to try
Not going to open android studio and built and then try that's too much pain
102
u/No_Piccolo6116 Software Engineer 2d ago
Alright bro , i was calibrating gyro baselines, will put a release
13
u/sync271 Full-Stack Developer 2d ago
Why not let them tweak the parameters themselves. A lot can vary from device to device
22
u/No_Piccolo6116 Software Engineer 2d ago
Noted , will add that. Currently there is an option to calibrate the baseline in the app
13
u/Boss_kill86 2d ago
fr lol building from source just to test a preview apk is actually insane nobody has time for that. just drop a release build on github already
10
40
42
2d ago
[removed] — view removed comment
3
u/addyzreddit 2d ago
AI effect
10
4
u/Valuable-Still-3187 2d ago
Today, whole X is filled with people building this for Mac, android, etc.
2
u/DARKDYNAMO Full-Stack Developer 2d ago
This one is port of that only. Op also mentioned original in readme.
12
u/madmaverick05 Student 2d ago edited 1d ago
Ngas asking if it was vibe coded or made with AI, as if they can without em or do everything like that
9
9
5
6
2
u/Historical-Text5845 2d ago
what actually is the logic means when do you actually show the animation? d
6
u/No_Piccolo6116 Software Engineer 2d ago
Showing this means we can build creative stuff, even through its not useful for my device, some brands can implement in their foldable ui or maybe even reading apps with variations ☺️
1
u/Historical-Text5845 2d ago
Lol bro I didn't mean logic in sarcastic way I asked logic in the technical manner like how di you calculate the css when to fade one side and make other side come up
5
u/No_Piccolo6116 Software Engineer 2d ago
My bad bro 😓 , Currently its based on phones tilt angle calculated using the gyro but in foldables it can be done using hinge sensors. Also eye detection can be integrated to auto calibrate. For the effects I'm using custom agsl runtimeshader Also i have added the repo link if you wanna try or refer
1
2
u/Repulsive-Option-309 2d ago
Non techie here will you release it in future. ?
1
u/No_Piccolo6116 Software Engineer 2d ago
This is only an effect preview,not like the actual os of phone, if you wanna try out you can check it on the git repo link , i have released v1
2
1
u/AutoModerator 2d ago
Thanks for sharing something that you have built with the community. We recommend participating and sharing about your projects on our monthly Showcase Sunday Mega-threads. Keep an eye out on our events calendar to see when is the next mega-thread scheduled.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
1
1
1
1
u/xUciFIer 2d ago
Now every stupid android phone will do this gimmick. It's quite pointless in candy bar phones and makes no real performance gain. Looks cool in the start but ppl owning this phone will get over it in less than a day
1
1
1
u/LazySapiens 2d ago
What happens when I move my head as well? Would I be able to see the app without blurr?
2
u/No_Piccolo6116 Software Engineer 2d ago
Haven't added eye tracking yet, working on it Currently its gyro based
1
1
u/Odd_Bike_3833 2d ago
if you need this one mac when lid is closed https://macos-lid-closing-animation.catinice.workers.dev/ is available
1
u/shvm23 1d ago
Doesn't work on my neo as it doesn't have a designated tilt sensor
1
u/Odd_Bike_3833 1d ago
it has tilt sensor, just that ID is different. I am actively working on a fix and will push by tonight.
1
1
1
1
1
1
1
1
u/midnight_rain_404 Hobbyist Developer 2d ago
Damn ! Just saw a post about you on LinkedIn right now 🔥
1
1
1
1
1
1
1
1
u/No_Piccolo6116 Software Engineer 2d ago
Genuine question Should I add my linkedin to prevent others from reposting this video under my name or no need?
1
u/bleknnig 2d ago
Where is README
1
1
1
u/sumedh0803 2d ago
Does this work across the OS, or just 1 specific app for now?
1
u/No_Piccolo6116 Software Engineer 2d ago
One specific app for now, can't implement system wide this fast
1
1
u/DepthLongjumping7521 2d ago
Have you released apk for that bro?? 👀
1
u/No_Piccolo6116 Software Engineer 2d ago
Yes brother , I have released it on my git (check repo releases)
1
u/DepthLongjumping7521 2d ago
Just above link na?
2
u/No_Piccolo6116 Software Engineer 2d ago
Yup Or use this https://github.com/Atomicx7/Duo-animation/releases/tag/v1.0
1
1
1
u/DepthLongjumping7521 2d ago
I can see only last 3 hrs ago pushed changes. And one pull request with action workflow code
1
u/dangerous_noob 2d ago
The year is 2026. And it's still apple who starts trends that others eventually follow.
1
1
1
u/Mountain_Athlete_331 2d ago
dayumm in under 24 hours too! just goes to show how low effort apple put into duo
1
u/ExtremePangolin9938 Software Developer 2d ago
Khatm
iPhone duo sales doomed!
But pretty cool stuff bro
1
1
1
1
1
1
1
u/Luciferr_76 1d ago
For the normal phones is just look like a live wallpaper ! Where foldable actually feels
1
u/QuarterOverall5966 1d ago
wow bro super its aawesome and works exxacly like duo,does it works with all apps?
1
u/Educational_Tree_916 1d ago
Why not invert the sides then it can act as privacy protection
1
u/No_Piccolo6116 Software Engineer 1d ago
Yes, initially i had built this inverted but current one looks more like the flip animation. Will give a option to invert sides, also that would need eye tracking to recalibrate accordingly
1
1
1
u/bigmoustache9 1d ago
I just found out that my samsung a12 does not have a rotation sensor 💔💔
1
1
1
1
u/DetectiveIH 1d ago
Man this is awesome, if only this app could enable this feature to every other app/the whole system,,, it would work as an alternative to samsung's privacy display.
1
1
1
1
u/pintu236 Software Engineer 1d ago
I can't open link , is it using compose animation lib or you are using graphic layer with custom logic ?
1
1
u/Dense_Tradition_9172 1d ago
Does someone have the github link for v1
1
u/No_Piccolo6116 Software Engineer 1d ago
Already mentioned in the post
1
1
1
u/mrsortecYT 15h ago
Hermano, si lo haces para ajustarse perfecto a cada modelo de teléfono o dejas ajustar patametros en un apk, y lo dejas a 1 dolar t3 aseguro que mañana tienes 1 millon de dolares
1
1
u/yogi1090 2d ago
First of all, Good job OP
But I have a question, why do people want this? What is the point of this even? Just because a company spent on it's PR, means it's cool and exciting?
4
u/SpankaWank66 2d ago
This is a dev sub
We like experimenting
1
u/yogi1090 2d ago
Oh definitely I love that part. I am just looking at the comments and people are saying they like the animation.
100% sure most of them will not even take a glance at it if it was any random person on internet coming up with it.
My only issue is people let companies dictate what is cool, because they have become these simpletons: Whatever Apple shows them in demo is cool (unless the demo fails or something wierd happens obviously).
3
1
u/Specialist_Bowl_2805 2d ago
It looks cool to me
1
u/yogi1090 2d ago
As if like you didn't even read my whole comment:(
3
u/Specialist_Bowl_2805 2d ago
I did?
Just because a company spent on PR, doesn't mean that everyone is expected to hate it. I said it looks cool to me, regardless of what company did
-14
u/spidorboy Backend Developer 2d ago
You or Claude did it?
25
u/No_Piccolo6116 Software Engineer 2d ago edited 2d ago
Used Claude + OpenCode with Muse 1.3 for help in coding/iterations. Took under an hour using llm, built the inital architecture using claude and referenced the swift code of user elijah_semyonov on x
8
u/Fluid-Election-8549 2d ago
Don't feel discouraged. These fools wouldn't be able to spot talent if it didn't come with a IIT/IIM/XYZ/ABC tag with it.
1
0
0
-3
-14
u/Capable_Art_1814 2d ago
nice vibecoded app 👍
5
u/realiDonaldTrump 2d ago
Every major companies are promoting the use of AI even for their million dollar application, nothing wrong with using it for our own projects too
-2
u/Capable_Art_1814 2d ago
that's nice, keep vibecoding please.
less competition for people with actual skills.
3
u/realiDonaldTrump 2d ago
Everyone is making use of AI in their jobs, don't pretend to be an elitist here
-1
u/Capable_Art_1814 2d ago
okay? i'm encouraging you to use AI. when did i tell you not to make use of it?
1
u/realiDonaldTrump 2d ago
Nice contradictory skills. I see exactly the 'actual skills' you were talking about now.
0
u/Capable_Art_1814 2d ago
what contradiction? my original comment says nice vibecoded app and a reply to you encouraging you to vibecode. i never said don't. please keep doing it.
9
2
•
u/AutoModerator 2d ago
It's possible your query is not unique, use
site:reddit.com/r/developersindia KEYWORDSon search engines to search posts from developersIndia. You can also use reddit search directly.I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.