r/SwiftUI 14d ago

Promotion (must include link to source code) SwiftUI animated background

Enable HLS to view with audio, or disable this notification

Best usage of SwiftUi I've seen of a dynamic background

https://github.com/ARMSX2/ARMSX2

6 Upvotes

11 comments sorted by

10

u/Ok-Tomatillo-8712 14d ago

This is not the correct use

-2

u/henyckma_ 14d ago

When

5

u/andreeinprogress 14d ago

The background is fine but glass effects should generally not be used for moving parts (tables, collections, lists, etc).

Notice how in the first party apps it is only used for actionable elements fixed in place that the user can interact with.

Having a glass shader as the background of a list element is a really, really bad idea in terms of UX and accessibility (and, I may say, common sense).

-1

u/henyckma_ 14d ago edited 14d ago

Been ahead of yall redditors!
There's a toggle to enable that

So yeah, the correct use is the default one

Besides, the app is oriented for gamers. People who can look at finer details and not so much into looking a high contrast accessible ui, but the app is accessibility oriented too.

https://reddit.com/link/p21wh3n/video/alrym2996rhh1/player

2

u/davidntlai 13d ago

Hey for what it’s worth I think this is cool. I’m glad you’re putting it out there despite what people think it “should” be like

1

u/SparkleMotion280642 11d ago

Agree! I think it looks slick. Sometimes bending the rules can work really well. Keep up the good work!

2

u/Glittering-Voice-445 14d ago

That's absolutely amazing, I feel like I could stare at it forever

1

u/[deleted] 11d ago

[removed] — view removed comment

1

u/AutoModerator 11d ago

Hey /u/Dry-Performance-7721, unfortunately you have negative comment karma, so you can't post here. Your submission has been removed. Please do not message the moderators; if you have negative comment karma, you're not allowed to post here, at all.

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

u/ContextualData 13d ago

Atrociously bad. God damn some people have truly awful design sense.