Re : Suitable range of input values for randomSeed()?
Shoot...as soon as I posted this I think I found an answer. It seems the input value is of the long data type (a 64-bit integer). I'm also reading somewhere online (here) that Math.random() in Java...
View ArticleRe : Suitable range of input values for randomSeed()?
http://processing.org/reference/randomSeed_.htmlProcessing's own version for randomSeed() uses an int data-type as its argument.But I bet it internally calls the original Math.randomSeed() under the...
View ArticleRe : Suitable range of input values for randomSeed()?
OK, thanks!Guess I'll just have to live with four billion different variations of my drawing. I should be able to find a good one in there somewhere. Unless my algorithm sucks...
View ArticleRe : Suitable range of input values for randomSeed()?
Actually...maybe randomSeed() in Processing does take a long after all - when I purposefully make an error by putting in a float, the error message says the function expects a long.Still...I'm not sure...
View ArticleRe : Comparing intersection points of array object list
Hey goToLoop,Here is the revised code that attempts to have different class object detection. Its not compiling correctly, though.class:class cellOne { final PVector location = new...
View ArticleRe : Comparing intersection points of array object list
1st of all, your main tab got wrong curly brace placements. How can you expect that to compile?2nd, where's the other CellFast class???
View ArticleRe : Comparing intersection points of array object list
the bracket error was due to transfering over here. careless mistake.heres the cellFast class:class cellFast{ final PVector location = new PVector(random(width), random(height)); final PVector...
View ArticleRecording a mix of sounds AudioPlayer
I'm using the minim library to make a project which the user trigger sounds (AudioPlayer) from the keyboard and this sound keep playing in loop until the user press another key to stop it. My problem...
View ArticleRe : How to save a PDF from a specific area of the app window?
Hi PhiLho,Following your suggestion I solve my problem,import processing.pdf.*;PGraphicsPDF pg;boolean doSave = false;int canvasW = 320;int canvasH = 240;void setup() { size(640, 480); pg =...
View ArticleRe : How to save a PDF from a specific area of the app window?
I always go back to the PDF reference page to answer such questions...The Pausing While Recording (With Screen Display) entry seems to fit your:import processing.pdf.*; PGraphicsPDF pg; boolean doSave...
View ArticleRe : How to save a PDF from a specific area of the app window?
I see beginRecord(pg);Seems to me that the Pausing While Recording example is exactly what I was looking for from the start, many thanks!
View ArticleRe : how to get processing on Linux to communicate via rfcomm
May i know where do i need to type those codes to? i am still a newbie. pls help me
View ArticleRe : how to get processing on Linux to communicate via rfcomm
@Ch Khuan : please tell me exactly what you want to do. Otherwise I can't know how to help you!Ciao,Bob
View ArticleRe : how to get processing on Linux to communicate via rfcomm
i am currently using window 7 and i don't know where to start. For example,$ sudo ln -s /dev/rfcomm0 /dev/ttyS99 i don't know where i should copy this code to. Same as the other codes below. May...
View ArticleRe : how to get processing on Linux to communicate via rfcomm
Look at the subject of this thread: the "Linux" part is a strong hint that these commands won't work in Windows 7!It is good that you searched about your problem, whatever it is, but instead of...
View Articlehow to get Processing on Windows 7 to communicate via rfcomm
I have tried many times to connect jy mcu with Processing but i failed. I can connect to Tera Term and communicate without any problem. Any solution for this problem?Thanks.
View ArticleJMyron: library doesnt work:
hello all:)i would like to use the library JMyron. But it doesnt work with my computer.is this library up to date?i have an iMac - Mac OS X 10.75 - Intel Core i7- and i am using Processing version...
View ArticleJSONObject, null values
As far as other code I've seen, and some validators I've used, null is a valid value. I have a server using jackson which is sending key/value pairs with null values, but I'm unable to add a key/value...
View ArticleRe : Unable to read big videos with processing 2.0.3
also ::: mo === megas octets=== 500M0 (average weigth for the videos i use, without any problem with quickTime or Vlc or processing 1.5.1 ----- except the ArraysBoundException!!!! which happens...
View ArticleRe : Unable to read big videos with processing 2.0.3
and i understand what you explain, very wellBUTÌF i dont call (jump()neither(pause)or...it does not work!!!! (except for the "totoro" example!!! - [what is its weight???].)what do you mean?...
View Article