Uses 3874K of libraries. Click here for Pure Java version (5968L/42K/149K).
!7 static int delay = 500; p-substance { showFrame(jcanvas(f makeImage, delay)); } static BufferedImage makeImage(final int w, final int h) { ret renderImage(w, h, func(int x, int y) { ret x < w/2 != y < h/2 ? Color.red : Color.blue; }); }
Began life as a copy of #1007280
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: | #1007286 |
Snippet name: | Test jcanvas [WORKS] |
Eternal ID of this version: | #1007286/5 |
Text MD5: | 17b9c946d8130e58a2cd50fd3e4d917c |
Transpilation MD5: | 371c75614809bb413a306785b3dfae7b |
Author: | stefan |
Category: | javax / gui |
Type: | JavaX source code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-03-14 22:50:04 |
Source code size: | 264 bytes / 13 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 505 / 610 |
Version history: | 4 change(s) |
Referenced in: | [show references] |