Libraryless. Click here for Pure Java version (4846L/34K/121K).
1 | !7 |
2 | |
3 | p { |
4 | RGBImage img = rgbShootScreen(); |
5 | int y = random(img.h()); |
6 | showImage("y=" + y, mergeImagesVertically( |
7 | img.clip(0, 0, img.w(), y), |
8 | img.clip(0, y, img.w(), img.h()-y))); |
9 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1006643 |
Snippet name: | Split screen at random line |
Eternal ID of this version: | #1006643/1 |
Text MD5: | 599702640ced910e3e58ca908e3b49fd |
Transpilation MD5: | 03cd2b640dbed713d653a8b2c8ab3f01 |
Author: | stefan |
Category: | javax / ocr |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-01-24 22:44:10 |
Source code size: | 198 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 468 / 532 |
Referenced in: | [show references] |