Skip to content

Commit

Permalink
new
Browse files Browse the repository at this point in the history
  • Loading branch information
Pragyanur committed Sep 19, 2024
1 parent c38ed03 commit aacb381
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/char.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ function characters() {
value = gray_at_pixel(O.x, O.y);
// value = max_gray(O.x, O.y);
n = substitute(value);
fill(map(value, 0, 255, 50, 255));
fill(value);
// fill(255);
textSize(CHAR_SIZE);
text(SHADES[n], O.x, O.y);
}
Expand Down

0 comments on commit aacb381

Please sign in to comment.