Hi Jacques,

Indeed yes. The complexity comes in when you realise that once you have the
function and it’s derivative - that is the easy part - you need to compute
a set of bezier spline segments that approximate the function in order to
use them in Postscript path creation. This is decidedly Not Simple (TM).

The code that was posted here is remarkable and very nicely done in this
respect.

Thanks for your input.

Andrew



On 28 June 2016 at 7:04:46 PM, Jacques Menu Muzhic ([email protected])
wrote:

They show how to draw a decaying wave with:

y_damped = sin(2*pi*330*t).*exp(-t/tau);

I guess this could be done in Scheme, couldn’t it?
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to