Renegade Projects Network Forums
A little trig tinkering - Printable Version

+- Renegade Projects Network Forums (https://forums.renegadeprojects.com)
+-- Forum: General Forums (https://forums.renegadeprojects.com/forumdisplay.php?fid=1)
+--- Forum: The Renegade Inn (https://forums.renegadeprojects.com/forumdisplay.php?fid=2)
+--- Thread: A little trig tinkering (/showthread.php?tid=1248)



A little trig tinkering - Electro - 21.02.2009

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.)


RE: A little trig tinkering - DCoder - 21.02.2009

I'm sorry, I'm not seeing anything beyond Learning C 101 here...


RE: A little trig tinkering - Electro - 21.02.2009

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.


RE: A little trig tinkering - Electro - 21.02.2009

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.