« Progress...... | Main

Finished ICM Final.....

image44.jpg


Well, last night I finished the code for pulling me around the room. I didn't think it would work when using both the X and Y axis but I figured out a way to set a "threshold" so once the values were greater than the "threshold" in a certain axis it will continue in that direction. With a little tweaking, it works really well now. Here is the code.

Actually, what I would like to do is make my images much larger. I orginally tried using images that were about 1000 wide and 667 high, and I would run out of memory. I would get an error called a Java Heap Space error. So I am currently using much smaller images and it works great, but I don't think it is as effective with such small images. Maybe I'll find a work around after I get the accelerometer working for P-Comp.

UPDATE: All i had to do is use the updated version of Processing 123 and it works great with large images.

TrackBack

TrackBack URL for this entry:
http://itp.nyu.edu/~cb1591/cgi-bin/mt/mt-tb.cgi/38

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)