Preserved Topic: Math, and the significance of .741767 |
|
---|---|
Author | Thread |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 05-30-2002 20:38
OK, I've been playing with this sine/cosine function for my little 5k animations, and I found this number by experimentation, which leaves my sin()/cos() functions standing dead still, or nearly. It happens when I increment by .741767, (approximately), and I wonder if any of you math gurus have an explanation, what's so special about this number? My instinct tells me that if I knew what was happening, I could do ... well, something neat with the knowledge, I don't know exactly what. Mostly curiousity, I found this magic range by building a little tool and finding where the sin/cos functions gave a nice movement, and by trial and error narrowed the 'magic' part of the number down to here. |
Paranoid (IV) Inmate From: A graveyard of dreams |
posted 05-30-2002 20:52
Wierd, didn't know that the number was special. The number is in radians, right? Have to look some more on this one. Good practice for tomorrows exam... |
Paranoid (IV) Inmate From: FL, USA |
posted 05-30-2002 21:09
If i understood what you were doing with the number, and what results you get, i could probably help |
Maniac (V) Inmate From: Oblivion |
posted 05-30-2002 21:09
All I have to say is .741767 = .74177 = .7418 = .742, when you round it so thats 740/1000 now to simplify, 371/500 which again, = .742, why is it important? I have no damn clue... |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 05-30-2002 21:37
The poster has demanded we remove all his contributions, less he takes legal action. |
Maniac (V) Mad Scientist From: Happy Hunting Grounds... |
posted 05-30-2002 21:41
Aahhh...now I remember...that's just like in 3d, when you try to revolve something more than 90 degrees...the fomula that is responsible for the revolving has problems with that (esp. Truespace...no revolving more than 90 degrees...otherwise it plays somehwat crazy...one must first create a 'stop' between, and then continue on, so that the program 'knew' which way to turn...) |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 05-30-2002 21:43
The poster has demanded we remove all his contributions, less he takes legal action. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 05-30-2002 21:51
Hmmm... 3.14159 / .741767 is about 4.235. So it's just a little more than 45 degrees (pi/4 radians). |
Maniac (V) Inmate From: Oblivion |
posted 05-30-2002 22:02
I knew slime would jump in with his algebraic genius brain |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 05-30-2002 22:03
Well, if I increment by just a little more than that (.742647), my object move in a circle clockwise, and a little less (.741047) they go counter-clockwise. I'm not using the sin/cos really, just sin() for the X movement and cos() for the Y. It was just weird, this number right between the two makes for no movement at all, (or nearly so, I didn't bother to pin it down exactly), so it stands for *something*, I just don't know what. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 05-30-2002 22:15
The poster has demanded we remove all his contributions, less he takes legal action. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 05-30-2002 23:12
I get a 404 at that page you linked, Doc. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 05-30-2002 23:15
The poster has demanded we remove all his contributions, less he takes legal action. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 05-30-2002 23:34
No, it's not Ym and Xm, those are multiplied by the *results* of the sine and cosine, they just change the size of the circle that each element sweeps through. |
Lunatic (VI) Mad Scientist From: Massachusetts, USA |
posted 05-30-2002 23:39
Yup. I got it. |
Paranoid (IV) Mad Scientist From: Somewhere over the rainbow |
posted 05-30-2002 23:42
The poster has demanded we remove all his contributions, less he takes legal action. |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 05-30-2002 23:54
Hah! I knew pi would have to be in there somewhere, but I wasn't seeing how it related to .741767 at all. The multple increments is not what I'd call "wrong" per sé, and getting just that little bit off gives me a nice flow as you say. So, I should be able to increment by the value I'm already using, divided by 32 also, shouldn't I? (running off to test) Hmm, no, that just does something even weirder, check it out under option "C". I may just make this the toy part, change the colors, and alter the values into things I find accidentally that are neat looking, heh. I love just taking a formula I don't really understand and then animating it, you get such neat effects, a glimpse inside the universe! |
Maniac (V) Lord Mad Scientist Sovereign of all the lands Ozone and just beyond that little green line over there... From: Stockholm, Sweden |
posted 05-31-2002 00:17
Ah! So cool, now I now what's happening, I can find the "cool spots" nearby where neat looking animations happen. Apparently, setting the increment to ((Math.PI*2)/288)*34 leads to a curve much like I have in the A and B movement, yet stationary. Adding or subtracting .001 from the increment gives me my A and B loops, but using a different multiplier gives some interestng effects too, see the C and D loops (set at 35*... +.001 and 33*...+.001). Cool! Understanding always makes things easier. I discovered the best places to set the increment by tying that value to my mouse positions, and then moving it around and checking the status line, writing down the sweet values. Thanks for your help Slime, you've given me the key to make this thing even cooler! |
Maniac (V) Inmate From: Seoul, Korea |
posted 05-31-2002 05:19
Wow. My head is spinning. |
Maniac (V) Inmate From: Den Haag: The Royal Residence |
posted 05-31-2002 20:35
??? |