brighter text colors

This commit is contained in:
Philipp Kramer 2019-09-11 17:04:19 +02:00
parent d1c42ccaef
commit e9054d2435

View file

@ -224,7 +224,7 @@ void draw() {
rectMode(CENTER); rectMode(CENTER);
rect(kinect.width+boxpos[i].x,boxpos[i].y, boxsize[i].x/8,boxsize[i].y/8); //draw on right image rect(kinect.width+boxpos[i].x,boxpos[i].y, boxsize[i].x/8,boxsize[i].y/8); //draw on right image
fill(150,255,100); //textcolor fill(150,255,255); //textcolor
text(""+i+"|"+boxid[i],kinect.width+boxpos[i].x-boxsize[i].x/2,boxpos[i].y-boxsize[i].y/2); text(""+i+"|"+boxid[i],kinect.width+boxpos[i].x-boxsize[i].x/2,boxpos[i].y-boxsize[i].y/2);
println("boxpos["+i+"].x="+boxpos[i].x+",boxpos["+i+"].y="+boxpos[i].y+", boxsize["+i+"].x="+boxsize[i].x+",boxsize["+i+"].y="+boxsize[i].y); println("boxpos["+i+"].x="+boxpos[i].x+",boxpos["+i+"].y="+boxpos[i].y+", boxsize["+i+"].x="+boxsize[i].x+",boxsize["+i+"].y="+boxsize[i].y);
@ -252,7 +252,7 @@ void draw() {
sendToWuerfels(); sendToWuerfels();
textSize(12); textSize(12);
fill(0,255,100); //textcolor fill(0,255,150); //textcolor
text("TILT: " + angle, 10, 20); text("TILT: " + angle, 10, 20);
text("THRESHOLD: [" + minDepth + ", " + maxDepth + "]", 10, 20+1*16); text("THRESHOLD: [" + minDepth + ", " + maxDepth + "]", 10, 20+1*16);
if(editboxpos){ if(editboxpos){
@ -260,7 +260,7 @@ void draw() {
} }
if (infomessagecounter>0){ if (infomessagecounter>0){
fill(150,200,255); //textcolor fill(100,50,255); //textcolor
text(infomessage,10,height-20); text(infomessage,10,height-20);
infomessagecounter--; infomessagecounter--;
} }