Live Coding Vest
The goal of this project is to create an interctive fashion piece - a clothing that you can wear, as well as play with it. My idea is to design a “vest” that can be live coded to generate some cool effects in AR.
Below are some of images of the prototype design:
There are markers attached to the front and back of the vest. In the AR environment, all the markers will become dynamic visual effects that can be live coded like the picture below. And different markers will represent different visual effects:
I used some black and white cloth pieces to create the prototype for the vest. All the markers are stick to the vest with double-sided tape. Below are what the it looks like:
To test the feasibility, I wrote some simple planes in different colors with three.js library and implement the objects in AR using minder.js library. To have better render effect, I adjust the size and position of the markers and it finally looks like this in AR:
Live Coding Implementation
I created a web application to enable coders to live code the visual effects with three.js and can assign different visual effects to different markers. The code can be parsed and executed in real-time by pressing “ctrl+enter” on the keyboard: