Darxoon [Lexaloffle Blog Feed]https://www.lexaloffle.com/bbs/?uid=39038 sin() doesn't work <p>So, this is the code I have right now:</p> <div> <div class=scrollable_with_touch style="width:100%; max-width:800px; overflow:auto; margin-bottom:12px"> <table style="width:100%" cellspacing=0 cellpadding=0> <tr><td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> <td background=/gfx/code_bg0.png> <div style="font-family : courier; color: #000000; display:absolute; padding-left:10px; padding-top:4px; padding-bottom:4px; "> <pre>local count = 0 function _draw() count += 1 print(count) print(sin(count))</pre></div></td> <td background=/gfx/code_bg1.png width=16><div style="width:16px;display:block"></div></td> </tr></table></div></div> <p>Then, when I boot this, the second one is <strong>always</strong> 0, but why? I'm trying to have a sinus wave, but not 0.</p> https://www.lexaloffle.com/bbs/?tid=36103 https://www.lexaloffle.com/bbs/?tid=36103 Tue, 03 Dec 2019 14:23:03 UTC