Skip to content

Commit e87ddba

Browse files
committed
added text prompts
1 parent e573782 commit e87ddba

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

dither.png

1010 KB
Loading

dither_it.pde

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,19 @@ void draw() {
1919
PImage processed = img;
2020
processed = Dithering.apply(processed, Dithering.BAYER_8x8);
2121
image(processed, 0, 0, width, height);
22+
23+
textAlign(CENTER, CENTER);
24+
textSize(16);
25+
rectMode(CENTER);
26+
noStroke();
27+
fill(0);
28+
rect(width/2, height-20, 480, 30);
29+
fill(255);
30+
textSize(12);
31+
text("Press L to a New Image or Press S to save the current Dithered image.\nUse the left or right arrow keys to swap between 3 different dither effects.", width/2, height-20);
2232
} else {
2333
fill(255);
34+
textSize(16);
2435
text(message, width/2, height/2);
2536
}
2637

0 commit comments

Comments
 (0)