When adding a function to the ezgestures library. After compiling with eclipse I call within a sketch and I get the error: "function sayHello(); does not exist".
I used the template from de google code page to start the library and copied the ezgestures code in it.
then I renamed the packages so it's my own package and does not interfere with the ezgesture lib.
Then building has no errors.
Does anyone know why the function isn't seen by processing?
I also compiled the template example and added functions to that one and there is no problem at all and it finds the function. So what is the difference?
any clue in what this could be would be very welcome!
I am looking for a good way to smooth noisy input. I will use noisy devices - a gyro and video tracked cursor data - they produce very jumpy data.
So far i have tried putting values in an array and averaging them. Works passably with small deviations. But i am guessing there should be something like a "lowpass filter" way of doing it, or even some others that i don't know.
Any ideas are very appreciated. (also on improving current code)
could anyone give me some tips how to make the text scroll.
At the moment when the text exceeds the bottom of the window it becomes invisible, cos it goes down to an imaginary space below.
I am trying to think of how to delete the first line and shift the whole text up, so there is a new empty line for more text. Basically making text scroll while typing.
Thanks in advance.
import fullscreen.*;
FullScreen fs;
PFont f1;
String txt="";
int fntSz=100;
int fntNum=1;
void setup() {
size(screen.width, screen.height); // set size
smooth();
background(255);
fs = new FullScreen(this); // Create the fullscreen object
I hope you can help me find the solution to my problem.
I have a bunch of otf fonts (open type font), that i want to use. I know processing accepts vlw, so mine wont work. But then, i go to tools>create fonts in order to convert them, and my otf fonts are not visible, just the ones that are in office folder and i am not sure what type they are.
is there a way to soleve this? Should i somehow convert otf to vlw? is there software for that?
Could anyone advise me how to do four point camera calibration in a way that x y coordinates of the screen would be the same as camera (which is tracking the screen) coordinates? Like Johnny Lee does with his Wii remote. I am using the processing video library. I am new to programming, so any help is appreciated.