Found a bug in flux/ this week. Portrait phones were only showing the middle of the 3D models dur...Found a bug in flux/ this week. Portrait phones were only showing the middle of the 3D models dur...
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started
Found a bug in flux/ this week. Portrait phones were only showing the middle of the 3D models during scroll, edges were getting cut off. Turns out I never scaled the camera fov/distance for aspect ratio, just assumed desktop dimensions the whole time
Shoutout to Jaden Green for telling me and walking through the math (visible width scales with aspect ratio, so 0.75 vs 1.78 is a massive difference in what's actually on screen)
I will be working on it soon as I can. Good reminder that vanilla WebGL means you own every edge case yourself, no framework catching this for you
Post image
Back to feed
The network for creativity
Join 1.25M professional creatives like you
Connect with clients, get discovered, and run your business 100% commission-free
Creatives on Contra have earned over $150M and we are just getting started