20.11.08

having to cheat in an ugly way

when / if i get this working, it will either be pure genius or horribly grotesque. Or simply not as efficient as i would like it to be.

Since the only thing that i've found that even points me slightly in the right direction on how to reset my processing app after it finds a word is this extremely uninformative thread in the processing forums, i think i'm going to have to cheat a bit.

Instead of getting the app to reset itself, i'm thinking of putting it in a web page that is set to refresh every few minutes, therefore refreshing the app.

hopefully.

the only problem with this is that since the app is being exported to a web page it needs to be signed, so it is allowed to access the lilypad. damn security restrictions on java apps!!!

This means i have to go into terminal and do some scripting on the java docs from there. SCARY. i haven't done any apple scripting on my mac (terrible, i know).

Although there is the redraw() function in processing, my problem is that my string of the twitter feed is pulled in inside the setup tag, which can only be loaded once. i've tried putting it inside the draw tag which can be loaded as many times as you feel like, but it isn't having it.

I'm also quite aware that we've got a crit tomorrow and what i have isn't that visually stunning. :/

No comments: