{"id":200,"date":"2010-06-01T23:01:29","date_gmt":"2010-06-01T15:01:29","guid":{"rendered":"http:\/\/konsolscript.sf.net\/web\/?p=200"},"modified":"2010-06-01T23:01:29","modified_gmt":"2010-06-01T15:01:29","slug":"messing-around-with-vectors","status":"publish","type":"post","link":"http:\/\/konsolscript.sourceforge.net\/web\/2010\/06\/01\/messing-around-with-vectors\/","title":{"rendered":"Messing around with Vectors"},"content":{"rendered":"<p>Quixie&#8217;s development has been busy throughout May 2010. Quixie is getting a revamp on rendering engine. <a href=\"http:\/\/www.cairographics.org\">Cairo<\/a> is being used to support vector-rendering.<\/p>\n<p>As such, new commands were added to <a href=\"http:\/\/konsolscript.svn.sourceforge.net\/viewvc\/konsolscript\/quixie\/src\/cls\/kse_Draw.bas?revision=102&#038;view=markup\">Draw<\/a> class:<\/p>\n<ul>\n<li>BeginFill(color, destination)<\/li>\n<li>CurveTo(x, y, destination)<\/li>\n<li>Clear(destination)<\/li>\n<li>LineStyle(thickness, color, destination)<\/li>\n<li>LineTo(x, y, destination)<\/li>\n<li>MoveTo(x, y, destination)<\/li>\n<\/ul>\n<p>All of which are only functional on the cairo-build of Quixie.<\/p>\n<p>With such functionality, a simple rotating 3D cube can be scripted just like the one below.<br \/>\n<center><a href=\"http:\/\/www.facebook.com\/album.php?aid=2977&#038;id=104510426263017&#038;saved#!\/photo.php?pid=44448&#038;id=104510426263017\"><img decoding=\"async\" loading=\"lazy\" src=\"http:\/\/sphotos.ak.fbcdn.net\/hphotos-ak-ash1\/hs521.ash1\/30654_104906606223399_104510426263017_44448_5628419_n.jpg\" alt=\"Cairo 3D Test\" width=\"328\" height=\"258\"\/><\/a><\/center><\/p>\n<p>You can build Quixie with Cairo as rendering engine by executing <a href=\"http:\/\/konsolscript.svn.sourceforge.net\/viewvc\/konsolscript\/quixie\/make_cairo.bat?view=markup\">make_cairo.bat<\/a> &#8212; or download the <a href=\"http:\/\/konsolscript.sf.net\/demo\/quixie-cairo-100601.zip\">precompiled demo for Windows<\/a>. Still going to work for GNU\/Linux platform.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Quixie&#8217;s development has been busy throughout May 2010. Quixie is getting a revamp on rendering engine. Cairo is being used to support vector-rendering. As such, new commands were added to Draw class: BeginFill(color, destination) CurveTo(x, y, destination) Clear(destination) LineStyle(thickness, color, destination) LineTo(x, y, destination) MoveTo(x, y, destination) All of which are only functional on the [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[31,10,9],"_links":{"self":[{"href":"http:\/\/konsolscript.sourceforge.net\/web\/wp-json\/wp\/v2\/posts\/200"}],"collection":[{"href":"http:\/\/konsolscript.sourceforge.net\/web\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/konsolscript.sourceforge.net\/web\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/konsolscript.sourceforge.net\/web\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/konsolscript.sourceforge.net\/web\/wp-json\/wp\/v2\/comments?post=200"}],"version-history":[{"count":0,"href":"http:\/\/konsolscript.sourceforge.net\/web\/wp-json\/wp\/v2\/posts\/200\/revisions"}],"wp:attachment":[{"href":"http:\/\/konsolscript.sourceforge.net\/web\/wp-json\/wp\/v2\/media?parent=200"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/konsolscript.sourceforge.net\/web\/wp-json\/wp\/v2\/categories?post=200"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/konsolscript.sourceforge.net\/web\/wp-json\/wp\/v2\/tags?post=200"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}