How to use list of x,z positions in .txt file, and translate into marked positions on screen?

edited November 2014 in How To...

Hello! This is my first attempt at using processing, so I'm sorry if my question is basic. I am using mouse tracking for two people to communicate secretly. In short, person A and B have the same text document, and A wants to send a message to B, so A uses processing to track the mouse's position over words one after the other to create the secret message, and those x,y positions per word are saved on a .txt. file, which is then sent to B. I already did this part, but struggling with part two: How to then read those x,y values from a .txt on processing, and showcase the position (with a dot or ellipse, whatever) on the screen every time B clicks on 'space' for example, to go from one word to another (to decrypt the message)?

I hope this is clear enough, and thanks in advance!

Answers

Sign In or Register to comment.