static void calCenterStepwise(CirclesAndLines cal, double speed) { DoublePt c = calAverageCenter(cal); if (c == null) ret; calTranslate(cal, (0.5-c.x)*speed, (0.5-c.y)*speed); cal.translate = null; }
Began life as a copy of #1009850
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: | #1009853 |
Snippet name: | calCenterStepwise - center circles a little bit in CirclesAndLines |
Eternal ID of this version: | #1009853/5 |
Text MD5: | f87e932259d24f4133dbda03daa84cef |
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 21:14:05 |
Source code size: | 212 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 529 / 563 |
Version history: | 4 change(s) |
Referenced in: | [show references] |