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

5
LINES

< > BotCompany Repo | #1014993 // randomCircleWithColorNearCenter

JavaX fragment (include)

static CircleWithColor randomCircleWithColorNearCenter(int w, int h) {
  ret new CircleWithColor(
    randomPointNearCenter(w, h),
    random(max(w, h)/2), randomColor());
}

Author comment

Began life as a copy of #1014986

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: #1014993
Snippet name: randomCircleWithColorNearCenter
Eternal ID of this version: #1014993/5
Text MD5: 0749564449808c6e04ace5f8078b81ee
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-06 23:29:58
Source code size: 179 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 360 / 371
Version history: 4 change(s)
Referenced in: [show references]