Transpiled version (164L) is out of date.
1 | // draw faint one times one pixel chess board to indicate how big a pixel is |
2 | svoid drawPixelChessboard(BufferedImage image) { |
3 | int w = image.getWidth(), h = image.getHeight(); |
4 | for y to h: |
5 | for x to w: |
6 | setPixel(image, x, y, even(x+y) ? Color.lightGray : Color.white); |
7 | } |
Began life as a copy of #1035000
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj
No comments. add comment
Snippet ID: | #1035002 |
Snippet name: | drawPixelChessboard |
Eternal ID of this version: | #1035002/2 |
Text MD5: | 938afd33f539dd13582deb286e90e35d |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2022-03-22 18:26:21 |
Source code size: | 286 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 153 / 212 |
Version history: | 1 change(s) |
Referenced in: | [show references] |