Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1014973 // randomBackgroundPlusPolys

JavaX fragment (include)

static BackgroundPlus<PolygonWithColor> randomBackgroundPlusPolys(final int w, final int h, int n, final int corners) {
  ret new BackgroundPlus<PolygonWithColor>(randomColor(),
    produceN(func { randomPolyWithColor(w, h, corners) }, n));
}

Author comment

Began life as a copy of #1014961

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: #1014973
Snippet name: randomBackgroundPlusPolys
Eternal ID of this version: #1014973/4
Text MD5: 5944a855b795a0f5ca4a936e06aafb5c
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-06 19:31:43
Source code size: 245 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 315 / 366
Version history: 3 change(s)
Referenced in: [show references]