Skip to content

Commit

Permalink
expects integer, fixes canvas size bug antimatter15#6
Browse files Browse the repository at this point in the history
  • Loading branch information
Forrest Oliphant committed May 12, 2013
1 parent efe20df commit 0520e99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion NeuQuant.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@
pix = 0;
lim = lengthcount;
samplepixels = lengthcount / (3 * samplefac);
delta = samplepixels / ncycles;
delta = (samplepixels / ncycles) | 0;
alpha = initalpha;
radius = initradius;

Expand Down

0 comments on commit 0520e99

Please sign in to comment.