{"id":2262,"date":"2015-02-10T23:50:20","date_gmt":"2015-02-11T04:50:20","guid":{"rendered":"http:\/\/www.jhclaura.com\/?p=2262"},"modified":"2015-11-20T17:10:16","modified_gmt":"2015-11-20T22:10:16","slug":"experiment_01","status":"publish","type":"post","link":"http:\/\/www.jhclaura.com\/experiment_01\/","title":{"rendered":"Experiment_01"},"content":{"rendered":"

Camera Feed<\/h1>\n

For my first experiment, in order to create strong nonsense moment<\/em>, I want to connect virtual world with\u00a0the reality, so as\u00a0to play with perception and make\u00a0conflict, and one way to do this is importing\u00a0the camera feed from the mobile phone. This way, the user can not only be able to see the real world<\/strong>, but also experience illogical, contradictory events in\u00a0the virtual world<\/strong>, which is triggered by the real world.<\/p>\n

Possible scenario<\/h3>\n

\"scenario_01a\"<\/a>–> Contradict to reality\"scenario_01b\"<\/a>\u00a0–> Think everyone is monkey\"scenario_01c\"<\/a>\u00a0–> Encourage to say Hi\"scenario_01d\"<\/a>–> Focus enhancement<\/p>\n

 <\/p>\n

Real + Virtual Mashup<\/h3>\n

\"camFeed\"<\/a><\/p>\n

After talking with professor Shawn Van Every, I decided to use browser instead of App as platform first, and test the limitation of browser and Javascript.\u00a0With flexible\u00a0HTML5 and Chrome browser, I can get camera feed from mobile just like from webcam of laptop, and\u00a0getUserMedia<\/strong> &\u00a0MediaStreamTrack<\/strong> function of WebRTC<\/strong> API allow users to choose camera and set up constraints as they want. Below are the gists of it:<\/p>\n