[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: What to do wanting a 4th order Bézier?
From: |
David Kastrup |
Subject: |
Re: What to do wanting a 4th order Bézier? |
Date: |
Sun, 18 Sep 2016 19:28:50 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) |
Simon Albrecht <address@hidden> writes:
> May I incorporate that into the LSR version?
>
>
> On 18.09.2016 16:04, Urs Liska wrote:
>>
>> Am 18.09.2016 um 16:01 schrieb Urs Liska:
>>> (cps (ly:slur::calc-control-points grob))
>>> (cps1 (first contr-pts))
>>> (cps2 (second contr-pts))
>>> (cp2-2 (mirror-point (fourth cps1) (third cps1)))
>>> (cps2 `(,(fourth cps1) ,cp2-2 ,@cps2))
>> This should actually read
>>
>> (cps (ly:slur::calc-control-points grob))
>> (cps1 (first contr-pts))
>> (cp2-2 (mirror-point (fourth cps1) (third cps1)))
>> (cps2 `(,(fourth cps1) ,cp2-2 ,@(second
>> contr-pts)))
I think this may actually be overdoing the symmetry since it forces the
control points around the inflection point to not just have the same
tangent but also the same distance (resulting, if I judge correctly, in
the same curvature). That is actually providing more continuity than
warranted: the whole point of having multiple slur pieces is that a
single consistent bezier is not enough to reflect the problem space.
So maybe it would be warranted to express the usefully available degrees
of freedom differently than by control points?
--
David Kastrup
- Re: What to do wanting a 4th order Bézier?, (continued)
- Re: What to do wanting a 4th order Bézier?, Kieren MacMillan, 2016/09/18
- Re: What to do wanting a 4th order Bézier?, Simon Albrecht, 2016/09/18
- Re: What to do wanting a 4th order Bézier?, Urs Liska, 2016/09/18
- Re: What to do wanting a 4th order Bézier?, Urs Liska, 2016/09/18
- Re: What to do wanting a 4th order Bézier?, Urs Liska, 2016/09/18
- Re: What to do wanting a 4th order Bézier?, Simon Albrecht, 2016/09/18
- Re: What to do wanting a 4th order Bézier?,
David Kastrup <=
- Re: What to do wanting a 4th order Bézier?, Urs Liska, 2016/09/18
- Re: What to do wanting a 4th order Bézier?, David Kastrup, 2016/09/18
- Re: What to do wanting a 4th order Bézier?, Urs Liska, 2016/09/18
- Re: What to do wanting a 4th order Bézier?, David Kastrup, 2016/09/18
- Re: What to do wanting a 4th order Bézier?, Urs Liska, 2016/09/19
- Re: What to do wanting a 4th order Bézier?, Urs Liska, 2016/09/19
- Re: What to do wanting a 4th order Bézier?, David Kastrup, 2016/09/19
- Re: What to do wanting a 4th order Bézier?, Urs Liska, 2016/09/19
- Re: What to do wanting a 4th order Bézier?, Urs Liska, 2016/09/19
- Re: What to do wanting a 4th order Bézier?, Simon Albrecht, 2016/09/20