Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
amelius
on May 29, 2019
|
parent
|
context
|
favorite
| on:
Penrose: Create diagrams by typing mathematical no...
Why do the text labels appear to be not centered in the smaller circles?
lifthrasiir
on May 29, 2019
[–]
Because the style doesn't know about that. Penrose is inherently an interactive constraint solver and you need to supply such implicit assumptions for a visually pleasing result. At the first glance I guess `objective centerLabel(...)` will do.
amelius
on May 29, 2019
|
parent
[–]
Interesting. Which constraint solver does it use, or do they use their own one?
hypotext
on May 29, 2019
|
root
|
parent
[–]
Hi, Katherine here—we've written our own code for numerical optimization (via L-BFGS) and constraint solving (via the exterior point method).
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: