Page 1 of 1
Cool uses of the SIne and Cosine!
Posted:
Wed Nov 29, 2006 11:09 pm
by Game A Gogo
Ive made a demo for demonstrating the uses of the commends Sin and Cos, i guess it worked pretty well, i may even create a demo for drawing a Figure whit them.
http://www.filefactory.com/file/259048/
enjoy.
133fps
Posted:
Sun Dec 03, 2006 4:00 am
by kyensoftware
Works with 133fps on my machine.
Just might help.
Posted:
Sun Dec 03, 2006 3:07 pm
by Game A Gogo
cool
on mine its usually work at 250
dude
Posted:
Sun Dec 24, 2006 5:13 am
by kyensoftware
Dude, Just thinkin' maybe it's the monitors?
just so ya know, ya know
Posted:
Mon Dec 25, 2006 4:44 am
by Sgt. Sparky
Posted:
Mon Dec 25, 2006 6:33 pm
by Game A Gogo
well, it depens on what is your CPU power, mine is like 2.1Ghz and also depens on the memory, mine is 512mb
mine sez...
Posted:
Wed Dec 27, 2006 6:53 am
by kyensoftware
Mine says it has 1.41 Ghz, But it is an AMD so its really 2.82 Ghz
Posted:
Wed Dec 27, 2006 3:46 pm
by Game A Gogo
it also depends on your V-ram on your video card.
and BTW, my cpu is 2.4Ghz
Posted:
Wed Dec 27, 2006 3:47 pm
by Sgt. Sparky
wow you two will still not stop that braggification.(I know that is not a word it is just fun to use)
Posted:
Wed Dec 27, 2006 11:19 pm
by Joshua Worth
it should be sin and cochicken!
Posted:
Wed Jan 03, 2007 3:40 pm
by Sgt. Sparky
I feel stupid asking this.... but what is sin an' cosine?
Posted:
Wed Jan 03, 2007 8:55 pm
by Game A Gogo
i dunno, their are function that makes it go back and forth whit a smooth, like to do a circle Ex.:
lets do a little thing to show you what it does
Beginning number | Sin | Cos
0 | 0 | 1
1 | 0.01 | 0.9998
2 | 0.03 | 0.9993
4 | 0.06 | 0.997
8 | 0.13 | 0.99
16 | 0.27 | 0.96
32 | 0.52 | 0.84
64 | 0.89 | 0.43
128 | 0.78 | -0.61
256 | -0.97 | -0.24
the Sin could be the X coordinate and the Cos could be the Y coordinate and for the numbers (first), it would some code like this: Number*Number whitch is Number^3 hope it helps (the cos and sin only varies beetween -1 and 1)[/code]
Posted:
Thu Jan 04, 2007 10:22 pm
by Sgt. Sparky
Posted:
Fri Jan 05, 2007 12:04 am
by Game A Gogo
also, its used a lot in math, especially for making graphics (I.E. a line that goes up and down)
Posted:
Fri Jan 05, 2007 12:05 am
by Sgt. Sparky
*grin*, thanks again.