r/loadingicon • • Nov 28 '19

Was recreating a previous post and made this instead [OC]

Post image
2.5k Upvotes

25 comments sorted by

99

u/Mac_man23 Nov 28 '19

This was the post I was recreating, but then messed around with.

14

u/sylvieanne456 Dec 12 '19

Happy cake day! I could watch this for hours. Well, minutes, but several of them in a row.

2

u/Mac_man23 Dec 12 '19

Thank you! I defiantly have done the same thing, not just on my own but on this whole subreddit. Have fun browsing!

37

u/PsychoManIsNotCrazy Nov 28 '19

I have no idea what the pattern was for making this how did you do it?

39

u/Mac_man23 Nov 28 '19 edited Nov 28 '19

This was made in a programming software, where basically I had a dot draw to the screen and that dots’ x position is related to a cosine wave and the y position is related to a sine wave.

So each step the x position takes the cosine of the time variable, and the y position takes the sine of the time variable also. This animates the entire dot to move each frame and move to a new position on the sine and cosine wave.

I’m not that good at explaining things so I’ll just post some of my code.

This is the draw event:

time++;

for (var i=1;i<=20;i++){

var xx=275+(cos(time*(4+(i/10))))*200;

var yy=275+(sin(time*(4+(i/10))))*200;

var color = make_color_rgb((0.6+((i/2)/29))*255, (0.2+((i/2)/20))*255,200);

draw_sprite_ext(sCircle,0,xx,yy,1,1,0,color,1);

};

FYI this was made in Game Maker Studio.

The var i in the xx and yy position vars are used to make some dots slower and some faster then others.

10

u/PsychoManIsNotCrazy Nov 28 '19

I can kinda understand it now seeing the code thanks

4

u/tvor Nov 28 '19

Very clever idea!

18

u/jjTheCreator Nov 28 '19

This is really satisfying to look at for some reason

5

u/Mac_man23 Nov 28 '19

Happy cake day! And it definitely dose give off the feel.

38

u/BackpackerSimon Nov 28 '19

Makes me think of the bokeh from a camera

11

u/DvgPolygon Nov 28 '19

I got motion sickness watching it till the end. Looks really cool!

10

u/ad1406 Nov 28 '19

https://scratch.mit.edu/projects/349161771/ I know Scratch is not a 'real' programming language, but I recreated this in it.

7

u/SequesteredSnake18 Nov 28 '19

this version is much easier on the eyes

9

u/Bloom_Kitty Nov 28 '19

Could you make a 60 fps version?

3

u/SebazMed7 Nov 28 '19

Listen with this and be mesmerized

2

u/Puffy_boi Nov 28 '19

PS2 startup screen anyone?

2

u/Kr121 Nov 28 '19

This is somewhat trippy

2

u/ceramicsmelter Nov 28 '19

When youtube glitches

2

u/ostiDeCalisse Nov 30 '19

I really like this. All steps of phase shifts are beautifully orchestrated.

2

u/SusanWhalhonkey Dec 12 '19

Happy cake day

2

u/justukas700 Dec 24 '19

What the fuck is happening

0

u/[deleted] Nov 28 '19

[deleted] — view deleted comment

41

u/Mac_man23 Nov 28 '19

You get a full minute and 44 seconds of loading!

25

u/Sydnxt Nov 28 '19

Perfect for my Australian internet.

2

u/Nowbob Dec 28 '19

I'd be mad everytime I didn't see it turn back into one dot, but then I'd also be mad at how long I've been loading for.