Edit: Title should say "circles", not spheres
So, I'm trying to figure out how to make a set of 3 "breathing circles", meaning that each is supposed to increase/decrease in it's own time and incorporating sin() and cos(), such that a "breathing"motion is achieved.
Unfortunately I'm completely lost and the closest thing I've gotten is a version that uses x+=speed2;
sine = (sin(radians(x)))*(maxNumber),
& I'm not sure how to get it to work with the actual ellipses,
I'm not sure how to incorporate these trig functions in a way that works with the ellipses and allows them to expand and shrink, & even any basic info on how to incorporate sin() and cos() with the increasing circle size would be useful.
Any help would be appreciated!
submitted by /u/throwaway-question-1 [link] [comments]