Get the latest Education e-news
 
Old 08-05-2009, 11:04 AM   #1
jwalters
Senior Member

Activity Longevity
0/20 15/20
Today Posts
0/11 ssssss142
Location: Apex NC, USA
Default (Co)Sines

Just curious, what's the coolest thing you've created using sines or cosines? I know they can be used to emulate wave motion, or oscillating objects like a hovering spaceship or a light source swinging back and forth. What other uses can you think of?

I'm planning to write a blog post on the use of sines (based on my little experience) and would like to include some of your ideas. If you have a demo or screenshot of something cool I would love to see it!
__________________
Jeromie L. Walters
http://gamedeveloperjourney.blogspot.com
jwalters is offline   Reply With Quote
Old 08-05-2009, 01:57 PM   #2
ScHiZo
Junior Member

Activity Longevity
0/20 16/20
Today Posts
0/11 sssssss23
Default

I made a 3D carousel for a game once like the ones on gotoandlearn.com w/ cos and sin. I thought that was cool, but it didn't make the final product
ScHiZo is offline   Reply With Quote
Old 08-06-2009, 01:14 AM   #3
Protector one
Moderator

Activity Longevity
2/20 17/20
Today Posts
1/11 ssssss698
Location: Netherlands
Default

Meh, I'm not that into cosines. (Sines, on the other hand...!)
I think the 'coolest' thing I ever did with them was create a wavy flight path for a spaceship in a Flash animation forum sig.
http://www.chazchat.com/index.php/to....html#msg17452 (It's below the ugly pants.)
__________________
My name is Louis. Hi!
Uh oh! The princess is in another signature!
Protector one is offline   Reply With Quote
Old 08-06-2009, 10:26 AM   #4
DTR
Member

Activity Longevity
0/20 17/20
Today Posts
0/11 sssssss94
Location: Helsinki, Finland
Default

Casted a floor for a raycaster with sine and it, as well as use it to calculate the "real" distance to the intersection of ray and wall line instead of getting the horrible fishbowl effect inducing "distorted" distance.

Not particularly "cool" but handy.

http://img91.imageshack.us/img91/232/mehr.png

Last edited by DTR : 08-06-2009 at 10:31 AM.
DTR is offline   Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Powered by vBulletin® Version 3.6.9
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
All times are GMT -8. The time now is 01:33 AM.






UBM Tech