{"id":2266,"date":"2019-12-12T22:21:34","date_gmt":"2019-12-13T03:21:34","guid":{"rendered":"https:\/\/dems.asc.ohio-state.edu\/?p=2266"},"modified":"2019-12-13T13:43:13","modified_gmt":"2019-12-13T18:43:13","slug":"cycle-3-one-handed-ninjutsu","status":"publish","type":"post","link":"https:\/\/dems.asc.ohio-state.edu\/?p=2266","title":{"rendered":"Cycle 3- One-Handed Ninjutsu"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">This project was inspired by an animated TV show that I used to watch in middle school; Naruto. In Naruto, the protagonists had special abilities that they could activate by making certain hand signals in quick succession. Example:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"281\" class=\"wp-image-2267\" style=\"width: 500px;\" src=\"https:\/\/dems.asc.ohio-state.edu\/wp-content\/uploads\/2019\/12\/873425066_orig.gif\" alt=\"\"\/><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Almost all of the abilities in the show required the use of two hands. Unfortunately, The leap motion controller that I used for this project did not perform so well when 2 hands were in view and it would have been extremely difficult for it to distinguish between 2-handed signals. However, I feel that the leap motion was still the best tool for hand-tracking due to its impressive 60 frames per second hand tracking that was quite robust (with one hand) on the screen.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Some more inspirations:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/dems.asc.ohio-state.edu\/wp-content\/uploads\/2019\/12\/giphy.gif\" alt=\"\" class=\"wp-image-2271\" width=\"517\" height=\"388\"\/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"282\" src=\"https:\/\/dems.asc.ohio-state.edu\/wp-content\/uploads\/2019\/12\/giphy-1.gif\" alt=\"\" class=\"wp-image-2286\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">I managed to program 6 different hand signals for the project:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Star, Fist, Stag, Trident, crescent, and uno<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Star &#8211; All five fingers extended<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Fist &#8211; No fingers extended (like a fist)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Uno &#8211; Index finger extended<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Trident &#8211; Index, Middle, Ring extended<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Crescent &#8211; Thumb and pinky extended<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Stag &#8211; Index and pinky extended<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The Jutsu that I programmed are as follows:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Fireball Jutsu &#8211; star, fist, trident, fist<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Ice Storm Jutsu &#8211; uno, stag, fist, trident<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Lightning Jutsu &#8211; stag, crescent, fist, star<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Dark Jutsu &#8211; trident, fist, stag, uno<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Poison Jutsu &#8211; uno, trident, crescent, star<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The biggest challenges for this project was devising a robust-enough algorithm for the hand signals that would be efficient enough to not interfere with the program&#8217;s high frame rate.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">And two: Animations and art. Until you start working on a game, I think people don&#8217;t realize the amount of work that goes into animating stuff and how laborious of a process it is. So, that was a big-time sink for me and if I had more time I definitely would have improved the animation quality.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Here it is in action: <a href=\"https:\/\/dems.asc.ohio-state.edu\/wp-content\/uploads\/2019\/12\/IMG_8437.mov\">https:\/\/dems.asc.ohio-state.edu\/wp-content\/uploads\/2019\/12\/IMG_8437.mov<\/a><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Some pics:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-resized\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/dems.asc.ohio-state.edu\/wp-content\/uploads\/2019\/12\/IMG_8435-1024x768.jpeg\" alt=\"\" class=\"wp-image-2323\" width=\"580\" height=\"435\" srcset=\"https:\/\/dems.asc.ohio-state.edu\/wp-content\/uploads\/2019\/12\/IMG_8435-1024x768.jpeg 1024w, https:\/\/dems.asc.ohio-state.edu\/wp-content\/uploads\/2019\/12\/IMG_8435-300x225.jpeg 300w, https:\/\/dems.asc.ohio-state.edu\/wp-content\/uploads\/2019\/12\/IMG_8435-768x576.jpeg 768w, https:\/\/dems.asc.ohio-state.edu\/wp-content\/uploads\/2019\/12\/IMG_8435-1536x1152.jpeg 1536w, https:\/\/dems.asc.ohio-state.edu\/wp-content\/uploads\/2019\/12\/IMG_8435-2048x1536.jpeg 2048w\" sizes=\"auto, (max-width: 580px) 100vw, 580px\" \/><figcaption>Ice Jutsu<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"768\" src=\"https:\/\/dems.asc.ohio-state.edu\/wp-content\/uploads\/2019\/12\/IMG_8436-1024x768.jpeg\" alt=\"\" class=\"wp-image-2324\" srcset=\"https:\/\/dems.asc.ohio-state.edu\/wp-content\/uploads\/2019\/12\/IMG_8436-1024x768.jpeg 1024w, https:\/\/dems.asc.ohio-state.edu\/wp-content\/uploads\/2019\/12\/IMG_8436-300x225.jpeg 300w, https:\/\/dems.asc.ohio-state.edu\/wp-content\/uploads\/2019\/12\/IMG_8436-768x576.jpeg 768w, https:\/\/dems.asc.ohio-state.edu\/wp-content\/uploads\/2019\/12\/IMG_8436-1536x1152.jpeg 1536w, https:\/\/dems.asc.ohio-state.edu\/wp-content\/uploads\/2019\/12\/IMG_8436-2048x1536.jpeg 2048w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><figcaption>Poison Jutsu<\/figcaption><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">You can find the source code here: <a href=\"https:\/\/github.com\/Harmanjit759\/ninjaGame\">https:\/\/github.com\/Harmanjit759\/ninjaGame<\/a> <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">NOTE: You must have monogame, leap motion sdk, c++ 2011 redistributable installed on your machine to be able to test out the program.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This project was inspired by an animated TV show that I used to watch in middle school; Naruto. In Naruto, the protagonists had special abilities that they could activate by making certain hand signals in quick succession. Example: Almost all of the abilities in the show required the use of two hands. Unfortunately, The leap [&hellip;]<\/p>\n","protected":false},"author":47,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-2266","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/dems.asc.ohio-state.edu\/index.php?rest_route=\/wp\/v2\/posts\/2266","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dems.asc.ohio-state.edu\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dems.asc.ohio-state.edu\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dems.asc.ohio-state.edu\/index.php?rest_route=\/wp\/v2\/users\/47"}],"replies":[{"embeddable":true,"href":"https:\/\/dems.asc.ohio-state.edu\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=2266"}],"version-history":[{"count":5,"href":"https:\/\/dems.asc.ohio-state.edu\/index.php?rest_route=\/wp\/v2\/posts\/2266\/revisions"}],"predecessor-version":[{"id":2325,"href":"https:\/\/dems.asc.ohio-state.edu\/index.php?rest_route=\/wp\/v2\/posts\/2266\/revisions\/2325"}],"wp:attachment":[{"href":"https:\/\/dems.asc.ohio-state.edu\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=2266"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dems.asc.ohio-state.edu\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=2266"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dems.asc.ohio-state.edu\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=2266"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}