{"id":1365,"date":"2018-11-29T00:59:09","date_gmt":"2018-11-29T05:59:09","guid":{"rendered":"http:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-b18\/?p=1365"},"modified":"2018-12-02T22:12:53","modified_gmt":"2018-12-03T03:12:53","slug":"math-simulator-saul-woolfs-computer-vision-gestures","status":"publish","type":"post","link":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-b18\/svwoolf\/math-simulator-saul-woolfs-computer-vision-gestures\/","title":{"rendered":"Moth Simulator (Saul Woolf&#8217;s Computer Vision Gestures)"},"content":{"rendered":"<p>I used computer vision to track an LED in my hand and follow it with a light on the screen. I thought it would be funny to have digital moths follow my digital light, so I modeled a single balls gravitational behavior to represent moth&#8217;s attraction to light. and duplicated it (each with random parameters). The digital light&#8217;s size directly correlates to the size of the led in my hand (It will look larger the closer it is to the camera). Additionally, the larger the digital light source is, the slower the moths will be to follow it.<\/p>\n<p><iframe loading=\"lazy\" width=\"1000\" height=\"563\" src=\"https:\/\/www.youtube.com\/embed\/gGPJJx2SLUw?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I used computer vision to track an LED in my hand and follow it with a light on the screen. I thought it would be funny to have digital moths follow my digital light, so I modeled a single balls gravitational behavior to represent moth&#8217;s attraction to light. and duplicated it (each with random parameters)&#8230;. <\/p>\n<div class=\"link-more\"><a href=\"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-b18\/svwoolf\/math-simulator-saul-woolfs-computer-vision-gestures\/\">Read More<\/a><\/div>\n","protected":false},"author":91,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"cybocfi_hide_featured_image":"","footnotes":""},"categories":[19],"tags":[],"class_list":["post-1365","post","type-post","status-publish","format-standard","hentry","category-computer-vision-gestures"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-b18\/wp-json\/wp\/v2\/posts\/1365","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-b18\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-b18\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-b18\/wp-json\/wp\/v2\/users\/91"}],"replies":[{"embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-b18\/wp-json\/wp\/v2\/comments?post=1365"}],"version-history":[{"count":2,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-b18\/wp-json\/wp\/v2\/posts\/1365\/revisions"}],"predecessor-version":[{"id":1367,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-b18\/wp-json\/wp\/v2\/posts\/1365\/revisions\/1367"}],"wp:attachment":[{"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-b18\/wp-json\/wp\/v2\/media?parent=1365"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-b18\/wp-json\/wp\/v2\/categories?post=1365"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.joshuarosenstock.com\/teaching\/imgd3200-b18\/wp-json\/wp\/v2\/tags?post=1365"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}