{"assets":[],"author_link":"author\/vanderzwan\/","author_name":"vanderZwan","cat":"LD #27","categories":["LD #27"],"comments":[],"epoch":1376810520,"event":"LD27","likes":4,"metadata":{"p_key":"79480","p_author":"vanderZwan","p_authorkey":"0","p_urlkey":"288490","p_title":"I\u2019ll give it a go. Also, here\u2019s some Processing code I might want to use.","p_cat":"LD #27","p_event":"LD27","p_time":"1376810520","p_likes":"4","p_comments":"0","p_status":"WAYBACK","us_key":null,"us_name":null,"us_username":null,"event_start":"1377216000","event_key":"18","event_name":"LD27"},"source_url":"2013\/08\/18\/ill-give-it-a-go-also-heres-some-processing-code-i-might-want-to-use\/","text":"<p>Hey all,<\/p>\n<p>Next Sunday I\u2019ll probably will be nursing a hangover from the friend\u2019s wedding I attened the day before, and will have nothing to do until my plane leaves Monday afternoon. So a perfect excuse to do a groggy half-serious attempt at entering the contest. Also, peer pressure from friends who may or may not be named Thomas ten Cate. Never really made a game before, actually.<\/p>\n<p>Anyway, the rules state that you can use personal code you wrote before if you share it with the public? Alright, it just so happens that I\u2019m designing a gesture recognition system for stack manipulation (don\u2019t ask), but the results are pretty interesting and might be used as a general input scheme where you can \u201cchain\u201d these 24 different gestures for different effects (click to see the animation):<\/p>\n<p style=\"text-align: center\"><a href=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2013\/08\/gestures.gif\"><img alt=\"gestures\" class=\"wp-image-266770 aligncenter\" height=\"200\" src=\"http:\/\/www.ludumdare.com\/compo\/wp-content\/uploads\/2013\/08\/gestures-300x200.gif\" title=\"Click to see the animation\" width=\"300\"\/><\/a><\/p>\n<p><a href=\"http:\/\/hastebin.com\/raw\/motoruxucu\" title='\"Simple Gesture Recognition\" on hastebin'>Here is the code<\/a><\/p>\n<p>As you can see, its in Processing 2.0 (and uses a few features that prevent it from being used in Processing.js at the moment). The names of the constants representing different arrows might appear a bit odd, as it was originally written for an interface involving manipulating stacks held in left or right hands (hence the \u201chandedness\u201d). I\u2019ll leave code cleanup as an exercise for the reader ;).<\/p>\n<p>It\u2019s under a \u201cdo whatever you want, but a thank you + shout out is appreciated\u201d licence.<\/p>\n<p>Cheers, looking forward to see what everyone will make next week!<\/p>\n<p>Job van der Zwan<\/p>","time":"August 18th, 2013 7:22 am","title":"I\u2019ll give it a go. Also, here\u2019s some Processing code I might want to use.","title_was_empty":false}