Pages: [1]   Go Down
Author Topic: Processing indeterminate text output on screen  (Read 356 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 36
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

There are errors in Processing that cause output to be placed off location.  Run this example:

boolean sw = true;

void setup() {
  size(480,480);
}

void draw() {
  fill(0);
  textSize(24);
  text("Draw this message repeatedly", 10, 30);
  if (sw) text("Draw this message once", 10, 60);
  sw = false;
  noLoop();  // remove or comment out after first run
}

The on screen text in the repeated message degrades as the pixels start to mush out around the target area.  It also happens when the background and fill values are changed. 

Is this a bug?  How does one put text on the screen that doesn't turn to mush with repeated calls to draw()?
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 36
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

My bad.  I posted on the wrong board.  I meant to go to Processing.org.

Please ignore.
Logged

Seattle, WA USA
Offline Offline
Brattain Member
*****
Karma: 601
Posts: 48543
Seattle, WA USA
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

That code worked perfectly fine for me, on a new high-end laptop running Win7.

Can you be just a tiny bit more technical in the description of the problem you are having? "Mush out" doesn't tell us anything.
Logged

Pages: [1]   Go Up
Jump to: