Libraryless. Click here for Pure Java version (3193L/18K).
static BufferedImage randomImage(int w, int h default w) { ret imageFromFunction(w, h, (x, y) -> random(0x1000000) | fullAlphaMask()); }
download show line numbers debug dex old transpilations
Travelled to 3 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx
No comments. add comment
| Snippet ID: | #1032163 |
| Snippet name: | randomImage - color image with completely random pixels |
| Eternal ID of this version: | #1032163/2 |
| Text MD5: | f58cda76ff7a335acdf3cd1db21b734e |
| Transpilation MD5: | 764b7c88fe13990e187c21904a920b3f |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2021-08-16 23:09:33 |
| Source code size: | 140 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 420 / 536 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |