Become a part of the TranceAddict community!Frequently Asked Questions - Please read this if you haven'tSearch the forums
TranceAddict Forums > Main Forums > Chill Out Room > Math help!!!
Pages (3): « 1 2 [3]   Last Thread   Next Thread
Share
Author
Thread    Post A Reply
Joss Weatherby
Banned



Registered: May 2008
Location: The Pacific Northwest, of course

quote:
Originally posted by rT19
dude who would come to the c0r for a math advice...



Actually lots of math smarties here, have helped me in the past.

Old Post Sep-30-2009 02:28 
Click Here to See the Profile for Joss Weatherby Click here to Send Joss Weatherby a Private Message Visit Joss Weatherby's homepage! Add Joss Weatherby to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Joss Weatherby
Banned



Registered: May 2008
Location: The Pacific Northwest, of course

Alright you guys wanted some code:

I have it looking like its calculating the average right, now I just need to rotate it properly.

code:
_samples = [355, 358, 0, 5, 351]; //_samples = [180, 180, 180, 180]; _sumX = 0; _sumY = 0; for [{_i=0;},{_i < 4},{_i=_i+1}] do { _sumY = _sumY + (sin (rad (_samples select _i))); _sumX = _sumX + (cos (rad (_samples select _i))); }; player sideChat format["_sumY: %1,_sumX: %2", _sumY, _sumX]; _div = _sumY/_sumX; _az = ((deg (atan _div)) mod 360); player sideChat format["avg: %1", _az];

Old Post Sep-30-2009 03:00 
Click Here to See the Profile for Joss Weatherby Click here to Send Joss Weatherby a Private Message Visit Joss Weatherby's homepage! Add Joss Weatherby to your buddy list Report this Post Reply w/Quote Edit/Delete Message
Zild
Ten City



Registered: Jun 2004
Location: San Antonio, US : TXTA #156

quote:
Originally posted by Joss Weatherby
Actually lots of math smarties here, have helped me in the past.


he's right i have a maths minor and others here have way more math education than i do


___________________
I've never been able to eat a whole baby.
Kill the women. Eat the children.
It's just one of those days where you want to bend over everyone you know and kiss their ass goodbye with a big sideways boot.

Latest Mix

Old Post Sep-30-2009 03:22  United States
Click Here to See the Profile for Zild Click here to Send Zild a Private Message Add Zild to your buddy list Report this Post Reply w/Quote Edit/Delete Message

TranceAddict Forums > Main Forums > Chill Out Room > Math help!!!
Post New Thread    Post A Reply

Pages (3): « 1 2 [3]  
Last Thread   Next Thread
Click here to listen to the sample!Pause playbackPopular electronic song from ~2000, should be easy [2011] [2]

Click here to listen to the sample!Pause playbackYoji Biomehanika - "Seduction" [2002]

Show Printable Version | Subscribe to this Thread
Forum Jump:

All times are GMT. The time now is 06:17.

Forum Rules:
You may not post new threads
You may not post replies
You may not edit your posts
HTML code is ON
vB code is ON
[IMG] code is ON
 
Search this Thread:

 
Contact Us - return to tranceaddict

Powered by: Trance Music & vBulletin Forums
Copyright ©2000-2025, Jelsoft Enterprises Ltd.
Privacy Statement / DMCA
Support TA!