Penrose – Tool for Diagrams
penrose.cs.cmu.edu
penrose.cs.cmu.edu
https://penrose.cs.cmu.edu/try/?examples=graph-domain/textbo...
It would be good to find ways to make the internal algorithms and their parameters more "open" or more easily parameterized and recombined in novel ways. It would be good to find ways to rely on more generic optimization methods, though software like this is probably skating on the edge of computational intractability (not to mention usability or interpretability issues) so it's a very challenging problem.
Kudos.
I think I should really stop fooling myself and learn Inkscape.
It's inspired by MetaPost but uses a modern programming language (Racket).
Isn't this what all computer programming is?
-- Wonder molecule, expressed via structural-formula DSL
Carbon C1, C2, C3, C4, C5, C6
Nitrogen N1, N2, N3
Oxygen O1, O2, O3
Hydrogen H1, H2, H3, H4, H5, H6, H7, H8, H9
SingleBond(H1, C1)
SingleBond(H2, C1)
SingleBond(H3, C1)
SingleBond(N1, C1)
SingleBond(H4, C2)
SingleBond(H5, C2)
SingleBond(H6, C2)
SingleBond(N2, C2)
SingleBond(H7, C3)
SingleBond(H8, C3)
SingleBond(H9, C3)
SingleBond(N3, C3)
DoubleBond(O1, C4)
DoubleBond(O2, C5)
DoubleBond(O3, C6)
SingleBond(N1, C4)
SingleBond(N1, C5)
SingleBond(N2, C5)
SingleBond(N2, C6)
SingleBond(N3, C6)
SingleBond(N3, C4)
AutoLabel All
Title title
Label title "C6H9N3O3"In the "A", or "signed angle outside" example [1], what defines the position of the points making the A?
Also, the amount of text required to make that examples seems huge, when you consider the >600 lines of style. How is this advantageous over SVG, which can also be semantically-meaningful?
1. https://penrose.cs.cmu.edu/try/?examples=walk-on-spheres%2FS...