static Pt un_closerControlPoint(Pt a, Pt b, Pt c) { // b = (b_orig+middle)/2 // 2b = b_orig+middle // b_orig = 2b-middle ret blendPoints(b, 2f, avgPoint(a, c), -1f); }
Began life as a copy of #1006962
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: | #1006987 |
Snippet name: | un_closerControlPoint - move control point of a quad curve further away from middle of straight line |
Eternal ID of this version: | #1006987/1 |
Text MD5: | 0c9b37324911e4dece7af7b5cd50d97a |
Author: | stefan |
Category: | javax / maths |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-02-22 00:34:40 |
Source code size: | 180 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 513 / 536 |
Referenced in: | [show references] |