Copy as HTML, 1065. Correct way of contributing to Processing
in
Integration and Hardware
•
11 months ago
Hi, Processing community!
I've found this link with current Processing issues.
And devoted a bit of my time to fixing one of them. The one about clipboard handling ( http://code.google.com/p/processing/issues/detail?id=1065).
I tested that on Windows and Linux, but I had no ability to test it on Mac machine.
Maybe, this was already implemented, but I haven't found anything in the trunk. I hope, someone could test that on Mac and commit, if it's ok!
A piece of code from exaples, copied as html and inserted right into this forum edit box:
I've found this link with current Processing issues.
And devoted a bit of my time to fixing one of them. The one about clipboard handling ( http://code.google.com/p/processing/issues/detail?id=1065).
I tested that on Windows and Linux, but I had no ability to test it on Mac machine.
Maybe, this was already implemented, but I haven't found anything in the trunk. I hope, someone could test that on Mac and commit, if it's ok!
A piece of code from exaples, copied as html and inserted right into this forum edit box:
void setup() {Cheers!
size(640, 360);
// Define colors
b1 = color(255);
b2 = color(0);
c1 = color(204, 102, 0);
c2 = color(0, 102, 153);
noLoop();
}
void draw() {
// Background
setGradient(0, 0, width/2, height, b1, b2, X_AXIS);
setGradient(width/2, 0, width/2, height, b2, b1, X_AXIS);
// Foreground
setGradient(50, 90, 540, 80, c1, c2, Y_AXIS);
setGradient(50, 190, 540, 80, c2, c1, X_AXIS);
}
Ostap
1