I have a problem with a moving textframe.
While it is moving the string of text is broken on different places. Sometimes it looks like a certain word does fit on a line and sometimes it doesn't fit and jumps to the next line. This goes very fast so it is very anoying. I heard that antialiasing could be the problem. Hopefully someone has an idea?
I'm working with the Twitter4J library and am trying to search on two things.
One is a hashtag #SKON
The other one is: "talent is"
How can I get these two words in a search query so that it search on these words en their order. So "talent is" and not "talent" AND "is"
I'm trying to show the live stream of twitter. I found out how to get the data from twitter and this works nicely. But know I want to update this info so that new tweets are loaded when they are posted. I can put my "get tweets" lines in the draw() but this offcourse cause the framerate to go down very quickly. Is there a way to do this and not let the framerate go down??
Something like loading the data in the back so it is not messing up my animations...
Thanks,
Joost
Here's my code:
String msg = "Automatically posted from Processing";
//copy and paste these from your application in dev.twitter.com String consumerKey = "***"; String consumerSecret = "***"; String accessToken = "***"; String accessSecret = "***"; AccessToken token;
Twitter myTwitter;
void setup(){ myTwitter = new TwitterFactory().getInstance(); myTwitter.setOAuthConsumer(consumerKey, consumerSecret); token = new AccessToken(accessToken, accessSecret); myTwitter.setOAuthAccessToken(token); // frameRate(30); }
Searching the internet Twitter4J seems to be the best Library to use for twitter integration in my processing project. But I just started working with processing so downloaden twitter4j but don't know how to start...
I'm working on my first Processing project and am running into some problems. Here is one.
I'm transforming the ball collision script to make it like I want. The collision between the balls and the window is working well but what I want to do is let the balls collide with text. Adn not a block around the text but with the actual characters like I got in the image below.
I was thinking maybe it's possible to import a vector image (illustrator) and use this...??
I started using Processing since today...sorry to bother you with something that sounds so easy.
I'm trying to add the twitter stream library and experiment with it but I can't seem to find the right way to add this library and use it. I did this:
"Unzip and put the extracted Tweet Stream folder into the libraries folder of your processing sketches. Reference and examples are included in the Tweet Stream folder."