{"id":1449,"date":"2018-02-03T11:17:47","date_gmt":"2018-02-03T11:17:47","guid":{"rendered":"http:\/\/www.pycheung.com\/weblog\/?p=1449"},"modified":"2018-02-03T11:18:44","modified_gmt":"2018-02-03T11:18:44","slug":"1449","status":"publish","type":"post","link":"https:\/\/www.pycheung.com\/weblog\/post\/1449","title":{"rendered":"Inter-object behaviour demo"},"content":{"rendered":"<p><strong>Inter-object behaviour:<\/strong><br \/>\nProximity &#8211; distance between 2 class objects<br \/>\nDensity &#8211; similar to cellular automata game of life transitions rules<br \/>\nCluster &#8211; click to &#8216;pop&#8217; connected object by type and proximity<br \/>\nArbitrary interactions built between types &#8211; in this example the blue\/white type gets &#8216;popped&#8217; by high neighbouring density of red type<\/p>\n<p>Key concepts:<\/p>\n<p><strong>Object:<\/strong><br \/>\nTypes &#8211; OOP Class variables<\/p>\n<p>Made as a quick Unity3D demonstration in 2014<br \/>\noriginally deployed for unity web player online<br \/>\nunity web player is no longer supported (see https:\/\/unity3d.com\/webplayer)<br \/>\nhttp:\/\/www.pycheung.com\/projects\/wp-content\/uploads\/demoPicking<\/p>\n<p>Made as a quick Unity3D demonstration for scripted and user interactions between objects<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Inter-object behaviour: Proximity &#8211; distance between 2 class objects Density &#8211; similar to cellular automata game of life transitions rules Cluster &#8211; click to &#8216;pop&#8217; connected object by type and&#8230;<\/p>\n<div class=\"royalwp-readmore-wrap\"><a href=\"https:\/\/www.pycheung.com\/weblog\/post\/1449\" class=\"royalwp-readmore\">Explore more <i class=\"far fa-hand-point-right\"><\/i><\/a><\/div>\n","protected":false},"author":2,"featured_media":1450,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[155],"tags":[],"_links":{"self":[{"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/posts\/1449"}],"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=1449"}],"version-history":[{"count":2,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/posts\/1449\/revisions"}],"predecessor-version":[{"id":1452,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/posts\/1449\/revisions\/1452"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/media\/1450"}],"wp:attachment":[{"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/media?parent=1449"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/categories?post=1449"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pycheung.com\/weblog\/wp-json\/wp\/v2\/tags?post=1449"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}