Jitter newbie here, wondering how difficult of an installation this would be to put together for an Art Class I am taking. I have done some tracking using the wiiremote's infrared camera before using laser pointers and infrared LED pens, so I know how to get the drawing part set up, but the rest I'm not to sure about... Here's what I'm going for:
The user will use an LED pen to draw a line on a projected surface. The patch will generate a line segment based on the start and endpoint of the user's "stroke." Then Jitter would select (randomly for now) from a specified library of .bmp files and "draw" in that figure according to the orientation of the line segment that was drawn. The images will be "lassoed" (cropped to their form) digital photos of random objects or people. Each one will have a "skeleton" that will be used as a reference for orientation according to what angle the line was drawn. So, this will have to be saved as some kind of metadata with each file or group of files. After x number of lines are drawn, the image is saved to a new .bmp file. This would give the user the sensation of painting an entire scene or portrait using just minimal "brush strokes."
I'm pretty sure Jitter is capable of doing all that but these are the parts that I could use some advice or at least a hint for what objects to look at:
1) storing metadata for the "skeletons"
-Maybe this isn't even necessary if I just save each file so that the default orientation would just be straight up and down? Then I would just have to measure the angle of the drawn line and offset the .bmp by that much
2) Getting a straight line from the user input
-It is likely that since these users will not have practice drawing straight lines, and they might forget to release the on/off for the LED in time, creating an unwanted curve or tail at the end of the segment. I would then need a way to average the line out or tell it to take just the part that follows one consistent direction across the screen
3) Using the angle of the line input to tell Jitter how to draw the next .bmp
- For now I just want the images to appear roughly in the same region of the projected surface as it was drawn and at the same angle
- Incorporating Scaling would be nice, but not essential for this first version
If I can learn how to accomplish those three tasks, I think I should be able to patch together the rest in Max. Let me know if you have experience with anything like this, or can help point me in the right direction. So far, I'm just working with an LCD for drawing the line input, and not really sure how to convert it to a jitter matrix so it can be properly analyzed by whatever jitter objects I will need. Thanks a billion,