Wow! That was truly amazing!
/Leo > 16 mars 2024 kl. 16:46 skrev Valentin Petzel <valen...@petzel.at>: > > Some time ago Jean posted this lovely proof of concept to the list for > circular staves. I’ve revised this to handle stuff like multiple Staves, > Spanners and Beams and such stuff. The result looks quite stunning in my > opinion. Also the way the code now works each bit essentially only requires > the a translation and orientation depending on the source position. In the > next step I’ll try to change the interface so that System provides not an > angle and a radius, but a procedures that takes any coordinate and returns a > target coordinate as well as an orientation. This way this implementation > should work as well for arbitary changes of coordinates. > > A problem with this implementation is that we need a sufficiently wide paper > for > rendering the origin staff. This is usually much wider than what is required > to > fit the result. I’ve thought about doing the classic web designer trick and > use > negative page margins, but Lilypond does not think that this is a reasonable > thing to do ... > > Cheers, > Valentin > > Am Sonntag, 23. April 2023, 22:09:22 CET schrieb Jean Abou Samra: >>> Le dimanche 23 avril 2023 à 12:37 +1000, Andrew Bernard a écrit : >>> Just checking - you can't make circular staves with notes in lilypond, >>> can you? I know you can do nice circle of fifths diagrams as per an LSR >>> example, but circular staves are way out of scope, aren't they? >>> >>> This came up in the Dorico forum and several users assert with no >>> evidence or examples that lilypond can, so I wanted to check my view. >> >> What exactly makes you think it is not possible, given the control LilyPond >> gives you on the notation via Scheme? >> >> Attached is an include file showing that you can do basic circular scores in >> <100 lines of straightforward Scheme code. This is a quickly coded demo, it >> would need a bit of love to gracefully print beams or ledger lines. (I >> won't invest that effort if the person is staying on Dorico and not >> actually using it, though.) > > <circular2.ly> > <circular2.png>