{"id":570,"date":"2020-06-18T21:40:08","date_gmt":"2020-06-18T21:40:08","guid":{"rendered":"https:\/\/www.root42.de\/blog\/?p=570"},"modified":"2020-06-18T21:40:08","modified_gmt":"2020-06-18T21:40:08","slug":"lets-code-ms-dos-0x15-sine-tables","status":"publish","type":"post","link":"https:\/\/www.root42.de\/blog\/?p=570","title":{"rendered":"Let&#8217;s Code MS DOS 0x15: Sine Tables"},"content":{"rendered":"\n<p>I got a question in the YouTube comments about the sine tables that we used for a few animations, like the Copper Bars, the Smooth Scrolling etc. In this episode I try to explain why and how to create sine tables. The idea is to speed up computations, since computing the sine or cosine \u2014 even with an FPU \u2014 takes an awfully long time on early MS DOS machines.<\/p>\n\n\n\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe loading=\"lazy\" title=\"Let&#039;s Code MS DOS 0x15: Sine Tables\" width=\"840\" height=\"473\" src=\"https:\/\/www.youtube.com\/embed\/uu5B162h_dw?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>I got a question in the YouTube comments about the sine tables that we used for a few animations, like the Copper Bars, the Smooth Scrolling etc. In this episode I try to explain why and how to create sine tables. The idea is to speed up computations, since computing the sine or cosine \u2014 &hellip; <a href=\"https:\/\/www.root42.de\/blog\/?p=570\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Let&#8217;s Code MS DOS 0x15: Sine Tables&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[1],"tags":[147,148],"_links":{"self":[{"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/570"}],"collection":[{"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=570"}],"version-history":[{"count":1,"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/570\/revisions"}],"predecessor-version":[{"id":571,"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=\/wp\/v2\/posts\/570\/revisions\/571"}],"wp:attachment":[{"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=570"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=570"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.root42.de\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=570"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}