lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Graphic lines create


From: karl
Subject: Re: Graphic lines create
Date: Tue, 5 Nov 2019 18:22:07 +0100 (CET)

Reggie:
> Karl Hammar wrote
...
> > To just do something curvy, do something like:
> > 
> > zz = \markup\postscript "0 1 360 5 mul { cos 0.01 mul 0.002 add .01 exch
> > rlineto } for stroke"
> > 
> > \relative c'' {
> >   c4^\zz c c c |
> >   c c c c |
> > }
> > 
> > there is also a \markup\path command that possible could be useful 
> > since you want svg output.
...
> Karl this looks outstanding but I don't understand how the code works. Is
> there a manual page for curves postscript code? Can you tell how you arrived
> at the code? I'm totally unable to see anything. 
> 
> 0 1 360 5 mul { cos 0.01 mul 0.002 add .01 exch rlineto }

 Introduction to postscript:
https://www-cdf.fnal.gov/offline/PostScript/BLUEBOOK.PDF

 Reference:
(https://www-cdf.fnal.gov/offline/PostScript/PLRM2.pdf)
https://www-cdf.fnal.gov/offline/PostScript/PLRM3.pdf

I test out snippets of postscript code with an editor and gv,
where gv is set to "watch" the file I'm working on.

Regards,
/Karl Hammar





reply via email to

[Prev in Thread] Current Thread [Next in Thread]