r/iOSProgramming • • Jun 10 '20

Discussion What do you think about this loading animation that I made with bezier paths?

308 Upvotes

49 comments sorted by

72

u/timusus Jun 10 '20

I think it's a really nice idea / well executed, and the code is surely interesting.

It's not particularly.. attractive though. I mean, I wouldn't use that to indicate loading (or any other state)

16

u/Drmlha Jun 10 '20

Yup it’s a type of concept

13

u/[deleted] Jun 10 '20

Can you try a version which is much smaller? Looks cool but the size of it is way too big imo. I think centered in the middle and 1/4th of screenwidth in both x and y?

5

u/Drmlha Jun 10 '20

Do you mean 4 “ying yangs” across? Or smaller in general?

7

u/[deleted] Jun 10 '20

Exactly the same but smaller. So you can actually see the border of the outermost circle. Maybe 1/4th of screenwidth is too much of a change, maybe 2/3rds or something. But it’s cool, I like it 😁

134

u/absurdadam1 Jun 10 '20

It's a lot.

3

u/walkingmelways Jun 10 '20

Mesmerising. It’s really good.

2

u/Drmlha Jun 10 '20

Thanks, I’ll be posting a link to my github when it will be ready

17

u/donisign Jun 10 '20

it's too complicated imo

6

u/iSalaamU Jun 10 '20

It's beautiful.. But I wouldn't use it as a loading animation.. More suited for a game animation.

4

u/dippnerd Jun 10 '20

Spiral out 🙃

3

u/allexks SwiftUI Jun 10 '20

Keep

4

u/dippnerd Jun 10 '20

going...

3

u/allexks SwiftUI Jun 10 '20

Spiral out

4

u/Hax_Meadroom Jun 10 '20

“The data that is loadable is not the true data”

Haha I like it a lot because the animation is really interesting. But for something with such a strong style it would need to really fit the theme/subject of the app IMO

4

u/a_cam_on_the_dash Jun 11 '20

man you post anything cool and then all the arm chair critics come out with obnoxious stuff like

iD nEvER uSe tHiS iN mY aPp

maybe he's just showing off some neat trick? code can be art folks. relax.

1

u/pattyfritters Jun 10 '20

I swear I just saw a gif of this exact fractal a few days ago.

2

u/Drmlha Jun 10 '20

True it inspired me but I couldn’t find it to post as source

1

u/[deleted] Jun 10 '20

Trippy!

2

u/Drmlha Jun 10 '20

Just imagine it going faster!

1

u/Awric Jun 10 '20

Kinda reminds me of Persona 5. For that reason I love it.

Is the code for this public? I’ve been wanting to play with bezier paths but I could never find an opportunity to

2

u/Drmlha Jun 10 '20

It will, but firstly I need to polish the code up

1

u/Awric Jun 10 '20

Awesome! Doesn’t have to be too polished. Looking forward to it

1

u/RstarPhoneix Jun 10 '20

Wow , looks amazing ! Do you have the code on github?

1

u/Drmlha Jun 10 '20

Not yet

1

u/gingerNoSoul541 Jun 10 '20

What did you use to make this?

1

u/Drmlha Jun 10 '20

Xcode swift 5

1

u/gingerNoSoul541 Jun 10 '20

Is that swift UI?

4

u/Drmlha Jun 10 '20

It’s uikit

3

u/yudoit Jun 10 '20

I like it, I made it past year, in css, you can choose also the colors https://codepen.io/Yudo/full/NWWRqNX

1

u/Drmlha Jun 10 '20

The thing I haven’t figured out are those gaps between black circles

1

u/[deleted] Jun 10 '20

Tooooo fucking big. What is it loading, a whole new game/screen?

1

u/Drmlha Jun 10 '20

It can scale

2

u/Yarduza Jun 10 '20

This is one strong Genjutsu

2

u/ThePowerOfStories Jun 10 '20

It’s very pretty, but if your app is taking long enough to load that users routinely see more than a blip of it, you’ve got a problem.

2

u/[deleted] Jun 11 '20

Awesome now go next level. Do the same thing with CGPathRef within a CALayer. CALayers can be drawn multithreaded.

1

u/[deleted] Jun 10 '20

Teach us, that’s what I think.

1

u/yellowliz4rd Jun 10 '20

impressive

1

u/Unity19rtoall Jun 10 '20

The animation is cool

1

u/gb2075 Jun 10 '20

Ooo didn’t someone post something like this to r/perfectloops in the past few days? Looks great, but I’m overwhelmed !

1

u/usedOnlyInModeration Jun 10 '20

Reminds me of Kanagawa before it turns into pseudo-fractalized yin yangs. Kinda cool.

1

u/minimalAtom Jun 10 '20

The animation itself is awesome!! For loading, I’d probably scale it down though. Good stuff, would love to see how you made this!

1

u/[deleted] Jun 10 '20

woah

1

u/Johnmelodyme Jun 11 '20

optical Illusion??

1

u/[deleted] Jun 12 '20

Your users will never get past the loading screen. I had to force myself to stop hitting replay.

0

u/[deleted] Jun 10 '20

[deleted]

7

u/wja122 Jun 10 '20

Thanks. Now that’s all I see

0

u/[deleted] Jun 10 '20

[deleted]

4

u/Drmlha Jun 10 '20

Soon I’ll be posting link to my GitHub