Dear folks - i am playing with sineWave examples but this simple test-example does not work (2.0b8) in the marked row causing ArrayIndexoutofbounds.... cannot find out WHY. thx for any help _ pricessin
float[] sineWave = new float[width]; // initialize sineWave ARRAY
void setup () {
size (200,200);
// ASSIGN: FILL the ARRAY with values from sin ():
for (int i = 0; i < width; i++) {
float r = map(i, 0 , width, 0, TWO_PI);
sineWave[i] = abs(sin(r));
}}
void draw () {
background (0);
// SET the stroke value to the numbers of the array
as i had lots and lots of problems with HP 8570w using processing within the last few month
(and i have been really desperate in the end when the harddisk crashed)
i would kindly ask the community
for some
tips for purchasing a new notebook (workstation) - i'll gonna use work with processing & CAD mainly.
- my budget is around € 1.500,-- (tax excluded).
which components (esp. graphics) would you recommend me / recommend against? any device you would recommend me as a whole?
THX a lot for your support! pricessin
PS: thanks to HP for taking back this ill-fated device.
every time i press PLAY in processing, the computer (windows 7 - 64 bit) opens a new java.exe and a new conhost.exe.
when i press STOP in processing, the computer closes the display window, but neither java.exe nor conhost.exe.
when i press PLAY again, a new java.exe and conhost.exe starts....
so i have lots of java.exe and conhost.exe running all the time (and have to kill them in task manager)
is this a known problem? any help?
already tried everything _ computer is new and setup fresh....