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

8
LINES

< > BotCompany Repo | #1009874 // cal_scramble - put nodes on random positions

JavaX fragment (include)

static void cal_scramble(CirclesAndLines cal) {
  if (cal == null) ret;
  for (Circle c : cal.circles) {
    c.x = cal_randomCircleCoord();
    c.y = cal_randomCircleCoord();
  }
  pcallF(cal.onFullLayoutChange);
}

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: #1009874
Snippet name: cal_scramble - put nodes on random positions
Eternal ID of this version: #1009874/2
Text MD5: 743deca0cd432aa023083338dbab03d5
Author: stefan
Category: javax / a.i. / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-22 20:58:14
Source code size: 221 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 427 / 443
Version history: 1 change(s)
Referenced in: [show references]