randrew/layout
View on GitHub ↗ ★ 1,003 C
Single-file library for calculating 2D UI layouts using stacking boxes. Compiles as C99 or C++.
3 mentions on Hacker News by 3 people: 1 story, 2 comments · first 2016-12-07 · latest 2020-03-23
20082026
-
…start by implementing some version of lisp or scheme for simplicity. 1: https://yogalayout.com/ 2: https://github.com/randrew/layout 3: https://github.com/NotCamelCase/RasterizationInOneWeekend 4: http://www.scratchapixel.com/index.php 5:…
comment by emmanueloga_ · 2018-12-12 · in Let’s build a browser engine (2014) -
…a similar library earlier this year. It builds as C or C++ and is only two files (MIT license): https://github.com/randrew/layout The API is similar to Yoga. I hadn't seen Yoga before, and I'm surprised at how similar it is. It seems like…
comment by tumult · 2016-12-07 · in Yoga: A cross-platform layout engine