{"author_name":"y2bd","cat":"LD #28","comments":[],"epoch":1386995520,"likes":3,"metadata":{"p_key":"36363","p_author":"y2bd","p_authorkey":"31403","p_urlkey":"71950","p_title":"Playing around with vectors\u2026","p_cat":"LD #28","p_event":"LD28","p_time":"1386995520","p_likes":"3","p_comments":"0","p_status":"UPD5","us_key":"31403","us_name":"y2bd","us_username":"y2bd","event_start":"1386892800","event_key":"20","event_name":"LD28"},"text":"<p>Having to relearn a bit of math, I wish paid more attention in linear algebra!<\/p>\n <p>Going from this (click for GIF):<\/p>\n <p><a href=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2013\/12\/raycast.gif\"><img class=\"alignnone size-medium wp-image-309172\" alt=\"intersect\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2013\/12\/raycast-300x170.gif\" width=\"300\" height=\"170\" \/><\/a><\/p>\n <p>&#8230;to this:<\/p>\n <p><a href=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2013\/12\/light2.gif\"><img class=\"alignnone size-medium wp-image-309173\" alt=\"light2\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2013\/12\/light2-300x170.gif\" width=\"300\" height=\"170\" \/><\/a><\/p>\n <p>At the moment it uses a relatively quick line-intersection algorithm which performs pretty well with two polygons, but I&#8217;ll have to see how it scales up with some more of them, heh.<\/p>\n \n <p>Tags: <a href=\"http:\/\/ludumdare.com\/compo\/tag\/gif\/\" rel=\"tag\">gif<\/a>, <a href=\"http:\/\/ludumdare.com\/compo\/tag\/light\/\" rel=\"tag\">light<\/a>, <a href=\"http:\/\/ludumdare.com\/compo\/tag\/love2d\/\" rel=\"tag\">love2d<\/a>, <a href=\"http:\/\/ludumdare.com\/compo\/tag\/lua\/\" rel=\"tag\">lua<\/a>, <a href=\"http:\/\/ludumdare.com\/compo\/tag\/progress\/\" rel=\"tag\">progress<\/a><\/p>","time":"December 13th, 2013 11:32 pm","title":"Playing around with vectors\u2026"}