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)

1  
static void cal_scramble(CirclesAndLines cal) {
2  
  if (cal == null) ret;
3  
  for (Circle c : cal.circles) {
4  
    c.x = cal_randomCircleCoord();
5  
    c.y = cal_randomCircleCoord();
6  
  }
7  
  pcallF(cal.onFullLayoutChange);
8  
}

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: 522 / 532
Version history: 1 change(s)
Referenced in: [show references]