Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for (h=0;h<sums.length;h++){
- for (w=0;w<sums[h].length;w++){
- int a=(int)Math.round(sums[h][w]*a_ratio);//normalize
- g2d.setColor(new Color(0, 128, 255, a));
- g2d.fillRect(w,h, 2, 2);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement