{"id":762,"date":"2011-09-20T23:30:47","date_gmt":"2011-09-20T23:30:47","guid":{"rendered":"http:\/\/www.pycheung.com\/weblog\/?p=762"},"modified":"2012-12-10T17:31:32","modified_gmt":"2012-12-10T17:31:32","slug":"space-partition-agents-and-some-reminder-for-myself","status":"publish","type":"post","link":"https:\/\/www.pycheung.com\/weblog\/post\/762","title":{"rendered":"space partition, agents and some reminder for myself"},"content":{"rendered":"<p>          <a href=\"http:\/\/www.pycheung.com\/weblog\/wp-content\/uploads\/attractByTypesVoxPlan2s_0001.jpg\" title=\"attractByTypesVoxPlan2s.jpg\">            <img loading=\"lazy\" src=\"http:\/\/www.pycheung.com\/weblog\/wp-content\/uploads\/zrtn_003n3e024cd9_tn.jpg\" style=\"BORDER-BOTTOM: #000000 1px; BORDER-LEFT: #000000 1px; BORDER-TOP: #000000 1px; BORDER-RIGHT: #000000 1px\" height=\"488\" width=\"800\" alt=\"attractByTypesVoxPlan2s.jpg\" border=\"0\"\/>          <\/a>        <\/p>\n<p>reworked the object class for a voxel spatial tree (with octree divisions but not utilised in the image above) and object class for agents &#8211; position, vector, loci, type etc +behaviour i.e. move, move with angle deviation, self collision, attract &amp; repell (by defined type id, similar to the one made using processing last year)<\/p>\n<p>image above shows a test setup looped over for 100 steps with <br \/>1. 80 agents starting at random position within a 2d range <br \/>2. 2 x maya curves divide and stored into voxel spatial tree <\/p>\n<p>loop: iterate all agents and do the following <br \/>1. attraction: same type <br \/>2. repell: black-blue, green-blue <br \/>3. self collision &#8211; avoid overlap <br \/>4. repell by maya curves<\/p>\n","protected":false},"excerpt":{"rendered":"<p>reworked the object class for a voxel spatial tree (with octree divisions but not utilised in the image above) and object class for agents &#8211; position, vector, loci, type etc&#8230;<\/p>\n<div class=\"royalwp-readmore-wrap\"><a href=\"https:\/\/www.pycheung.com\/weblog\/post\/762\" class=\"royalwp-readmore\">Explore more <i class=\"far fa-hand-point-right\"><\/i><\/a><\/div>\n","protected":false},"author":2,"featured_media":1158,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[153],"tags":[60,90],"_links":{"self":[{"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/posts\/762"}],"collection":[{"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/comments?post=762"}],"version-history":[{"count":2,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/posts\/762\/revisions"}],"predecessor-version":[{"id":1029,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/posts\/762\/revisions\/1029"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/media\/1158"}],"wp:attachment":[{"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/media?parent=762"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/categories?post=762"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/tags?post=762"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}