[L2Ork-dev] Upcoming pd-l2ork release teaser
Ivica Ico Bukvic
ico.bukvic at gmail.com
Wed Aug 28 07:28:37 UTC 2013
On 08/27/2013 11:25 PM, Mathieu Bouchard wrote:
> Le 2013-08-27 à 12:21:00, Ivica Ico Bukvic a écrit :
>
>> We are coming up on a new pd-l2ork release--one that I am
>> particularly excited about. As I continue to put on the finishing
>> touches, I wanted to share a small but hopefully sweet teaser
>> screenshot with everyone :-)
>
> What's the line-placement algorithm ?
Hey Mathieu! Glad to see you are still lurking around ;-)
2 connected quadratic bezier curves, so 3 points (1 shared between the
two curves), and 2 control points--one immediately below the outlet and
another above the inlet, their height away from respective nlets
depending on a combination of horizontal and vertical distances between
the connecting nlets. If you are looking for the underlying formula, the
code is rather simple on my end (I will be uploading it to git hopefully
in the next couple of days). As for the actual Bezier calculation, that
part is embedded in the tkpath library. Beyond that I haven't dug into
tkpath's code.
HTH
>
>
> ______________________________________________________________________
> | Mathieu BOUCHARD ----- téléphone : +1.514.383.3801 ----- Montréal, QC
>
>
> _______________________________________________
> L2Ork-dev mailing list
> L2Ork-dev at disis.music.vt.edu
> http://disis.music.vt.edu/listinfo/l2ork-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://disis.music.vt.edu/pipermail/l2ork-dev/attachments/20130828/cdbe9829/attachment.html>
More information about the L2Ork-dev
mailing list