processing
Using Processing, how can I iterate across the files/images in my sketch's data directory?
I want to load a bunch of images (or files but there doesn\'t seem to be an object/type for that) -- not by name, but just whichever ones are in the data directory, into an array or something.Is there[详细]
2023-02-18 16:14 分类:问答How can I add pan and zoom controls to a Processing.js canvas?
I can draw sh开发者_StackOverflowapes on a canvas. Now I\'d like to let users pan and zoom in and out using keyboard controls.You could use variable to keep track of user feedback for zoom and pan, wh[详细]
2023-02-17 12:44 分类:问答how to loop over the pixels using 2D array?
For example: loadPixels(); for (int i = 0; i < 240; i++) { for(int j =0; i < 240; j++) { color p =开发者_如何学Go pixels[i][j];// ERROR : The type of the expression must be an array[详细]
2023-02-17 12:16 分类:问答openFrameworks vs Processing
I have been reading a lot aboutopenFrameworks and Processing, But still 开发者_高级运维can\'t make the distinction other than one is in C++ and the other in Java. Can someone tell me which is for what[详细]
2023-02-16 08:47 分类:问答http post facebook graph api processing
i want to post something on the wall of a facebook user via a processing applet. first i get the access_token for the user with the app_id and user_id through the Oauth authentication.[详细]
2023-02-15 14:46 分类:问答adding constructors makes an error? This doesn't make sense please help, programming question
I am getting a syntax error \"insert } to complete ClassBody. This code works ok/ error free: import java.awt.Rectangle;[详细]
2023-02-14 05:35 分类:问答Strange Java error- float getting set to Infinity
I\'m new to Java, and I\'m using Processing to make some data visualizations. I\'m getting this strange error in my code though, was wondering if anyone could help me out. It seems the Xspacing float[详细]
2023-02-13 08:18 分类:问答Posting Processing code onto a website?
I have exported some Processing code (outputs sensor data to 开发者_JAVA技巧a textbox) to an applet that includes the .jar and .html files. I have tried to insert this html on a[详细]
2023-02-12 18:38 分类:问答does anybody know how to set the color of the border of text in processing
I think there is no 开发者_StackOverflow中文版textBorder(); and Stroke(); does not work. any helpThis makes a pretty good 1px stroke by drawing the text four times in the stroke color, then once in th[详细]
2023-02-12 14:17 分类:问答Porting some Processing code to Eclipse, getting slew of errors
I\'m making an Android app using Processing, and have decided to port my code to Eclipse. I guess there are a lot of differences between Processing and pure Java, because right off the bat I am gett开[详细]
2023-02-12 10:30 分类:问答