Skip to content

Commit

Permalink
Update char.js
Browse files Browse the repository at this point in the history
  • Loading branch information
Pragyanur authored Sep 19, 2024
1 parent 2e39442 commit f2b75e6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions scripts/char.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,6 @@ const CHAR_SIZE = 16;
let textPositions = [];
let video;

function shade(n) {
return SHADES[n];
}

function substitute(gray_value) {
let intensity;
intensity = map(gray_value, 0, 255, 0, SHADES.length);
Expand Down

0 comments on commit f2b75e6

Please sign in to comment.