Re : please help with serial and point
oh well,casting the line2 variable to float and changing teller++ to teller=teller+1 fixed it.
View Articleserial.list() limitations on mac?
Hi there. I'm running 2.0b6. When I do println(serial.list()); i get just ten values and I can't access the desired port. When I try doing myPort = new Serial(this, "/dev/slave", 9600);it seems the...
View ArticleAll MIDI Devices Unavailable?
Hi,I hope I've picked the right location for this post.I am a beginner with processing and with Java in general. I'm trying to figure out how to simply construct a midi note on message and send it to...
View ArticleHow to log sensor arduino data into a file.
I have been trying to log arduino data into a file but all i could get is an empty file,my code is here below,I need some assistance on how i could better it.import processing.serial.*;Serial...
View ArticleRe : Split only returning first index
That could be. I just wrote my own parsing characters into the code that I use .indexof to find and cut out the values I need. It is not elegant, but it works. Thanks for the help.
View ArticleRe : How to log sensor arduino data into a file.
You need to call output.close() when you finish receiving data.
View ArticleRe : PImage Memory Leak Example
I've added this to a previous bug report about issues with image caching....
View ArticleRe : How to log sensor arduino data into a file.
Hey PhiLho,look at the code below and see if that is what you meant,i have tried it and it still gives me a blank file.I would suppose you post your code here.import processing.serial.*;Serial...
View ArticleScaling text
Hello, I am trying to create text that changes in size according to the frequency of the song being played. I have managed to get it to work, however one problem that I am facing is that the text does...
View ArticleRe : Scaling text
I'd thought that textAlign(CENTER,CENTER);does this... why not? You can use textwidth and textheight (does it exist??) and say text("a", width/2 - textwidth ("a") / 2 , height/2 - textheight ("a")...
View ArticleRe : Scaling text
The alignment is working, but some fonts won't say how many pixels they increase in size correctly, so the alignment is not adjusting properly. You can get the textAscent, apply a calc on it, then use...
View ArticleRe : How to log sensor arduino data into a file.
Try to add a simple println(value); after reading it, to see if you have something in the console.
View ArticlePVector functions and CPU vector processing? (SSE functions)
Hi there,I discovered that the PVector class methods don't use the Processors vector registers and commands (SSE).So I was wondering if there are any plans to use calculations with the vector unit of...
View Articleusing timer
am new to processing and am having this issue on using the timer class. i have a movie and two images. what i want to do is, load the movie first then after 10 second, the first image will show and...
View ArticleRe : using timer
What is this "timer class"? Are you using a library? Either way, what do you have so far?
View ArticleRe : using timer
this is how far i have gone. now the movie plays, but my problem is using the timer to change.now i want the movie 10 play for 40seconds then loads the first .png file and after the 30seconds displays...
View Articlevideo input with elements
for my assignment, i had to upload a video, thus the code below works, the major problem that i have is that now i need to add elements into it such as pulses and designs, but every time i add anything...
View ArticleI am trying to create a sort of photoBooth In Processing
Hi, I am a new programming student and for my school final I am trying to create a sort of PhotoBooth using the camera on a mac or any kind of computer camera with different filters that are triggered...
View Article