Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
A little trig tinkering
#1
Hee. Behold, a table, of 512 sine calculations! Tongue

http://codepad.org/f0piWAH7

(I'm tinkering with my own ripple effect so I've came up with that little debug table during development.)
Albert Einstein Wrote:Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe.
Reply
#2
I'm sorry, I'm not seeing anything beyond Learning C 101 here...

Worth playing: 1 | 2 | 3
Reply
#3
Meh, I just put it up for the lols. But don't use the lockmallet on this, I intend to place the complete ripple drawing code once I'm done testing it.
Albert Einstein Wrote:Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe.
Reply
#4
Now, presenting *drum roll* VERY VERY FAST HORIZONTAL RIPPLES ON SDL! Wow

http://codepad.org/1rH6F1zq

[Image: animated.gif]

UPDATE: Included ZIP with Windows executable and source.


Attached Files
.zip   ripple.zip (Size: 274.75 KB / Downloads: 411)
Albert Einstein Wrote:Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe.
Reply




Users browsing this thread: 1 Guest(s)