Skip to content

Commit

Permalink
Garbage removed
Browse files Browse the repository at this point in the history
  • Loading branch information
s-litvin committed Sep 17, 2020
1 parent 8073c36 commit e418562
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sketch.js
Original file line number Diff line number Diff line change
Expand Up @@ -230,7 +230,7 @@ class Cam {

function spriteFill(color, pos_x, _height) {

color = (Math.floor(color*16/255) + 1) * 16;
color = Math.floor(color*16/255) * 16;
_height = Math.floor((400 - _height) / 2);

image(pg, pos_x, 0, 10, 400 - _height, color, 0, 10, 400 - _height);
Expand Down

0 comments on commit e418562

Please sign in to comment.