hello all,
today i did my first processing programming. my project is visualizing data from a biofeedback software. i was writing easy code, a bouncing ball code with speed regulated through serial communication. that works, but if i make the window size 1000 x 1000, the cpu is at 100% and the serial communication is very slow. it is an older amd 2,5 ghz with a simple graphic card. somehow i was expecting much more speed and fluidity.
also when i run simple bouncing ball code without serial communication on my 2,33 ghz dual core laptop, the cpu is at 95%.
is that normal or is there a way to make it faster. my goal is to control 2 bouncing balls in speed and size through serial communication in fullscreen. i dont need high resolution, but a big window. is that possible with processing or is anybody aware of better (faster) alternatives?
thanks,
michael
i am new here and a beginner with processing. i was doing some projects with arduino.
my newest project is the following:
i want to have two different visualisations of data on two different monitors. the data comes from bioera, a neurofeedback programm, through serial comunication to an arduino. that is working so far nicely. till now i am controlling leds with the arduino. now i want to visualize the data on two monitors. for example, if alpha amplitude on a particular position is high, a big circle appears on the left monitor, and if theta is low on another location, a red triangle would appear on the right monitor.
data should flow quite fast, maybe in a range of a few hundreds of a second.
i thought i would use in total 2 computers. on the first one is the neurofeedback software, where i use two monitors for the neurofeedback software.
on the second one i would run processing and in two different windows in two monitors.
the first arduino attached to the neurofeedback software i would connect to two other arduinos through serial communication, and these two arduinos are connected to the second computer running processing.
is that a possible setup, could one window of processing process data from one arduino, for example on port 1, and the other window process data from an arduino at port 2?
thanks for your help and if there is an easier way i would be happy to hear about.