David Smith on Nostr: I kinda wish there was the concept of 'depth' in the SwiftUI visionOS toolkit. We can ...
I kinda wish there was the concept of 'depth' in the SwiftUI visionOS toolkit. We can offset a view in Z order, but can't extrude it (as far as I know).
Here is a little prototype of what it might look like if we could, where I just stack up a bunch of views at slightly different Z-heights. It looks pretty good until you look at it from the side when the illusion then breaks down.
{
"id":"c1701ee90cc436305074bdb986ab819936e0695f42e471c2056ed21f4b07fa83",
"pubkey":"0f98b63e445497403a9d290101c1ba3bba2c8430dddb690cffd50ed73e221a21",
"created_at":1689067679,
"kind":1,
"tags": [
[
"mostr",
"https://mastodon.social/users/_Davidsmith/statuses/110694739416196084"
]
],
"content":"I kinda wish there was the concept of 'depth' in the SwiftUI visionOS toolkit. We can offset a view in Z order, but can't extrude it (as far as I know).\n\nHere is a little prototype of what it might look like if we could, where I just stack up a bunch of views at slightly different Z-heights. It looks pretty good until you look at it from the side when the illusion then breaks down.\n\nhttps://files.mastodon.social/media_attachments/files/110/694/738/782/357/359/original/298c9ebee235d7b2.mp4",
"sig":"69b25c5ae33fbaddf1c84082dece8b645ca478783793e0d873dbd5ebeb670d4a15ddc694a3da701a3392a5fdb923d42894e0b7d7503e212e9783d9b2b2066c71"
}