I've made cassowary constraint solving for ultraviolet (like Ratatui) #87
Replies: 2 comments 4 replies
-
|
@metafates This is such great work! Thank you so much for working on this 🙂 I looked at this some time ago, but never had the time to work on it. It would be wonderful to upstream this into Ultraviolet |
Beta Was this translation helpful? Give feedback.
-
|
@aymanbagabas @metafates while I appreciate the elegance of the cassowary constraint solver (nice :) ), I don't actually care for the API introduced here in the ultraviolet I guess this all goes back to a question of how low-level you envision the ultraviolet library to be when it comes to housing code for doing things like plotting, coordinates, layout, text and block alignment, etc. @aymanbagabas do you have anywhere where you've jotted down your thoughts on the dividing line for what should be in ultraviolet versus what should be in either other libraries? |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I've made Cassowary constraint-solving (Wikipedia) implementation for ultraviolet.
I like how it is used in Ratatui framework and wanted something similar for Go.
So here it is, for anyone interested: https://github.com/metafates/uvcasso
TL;DR
Beta Was this translation helpful? Give feedback.
All reactions