Clay is a UI layout library written in C, and this video gives a high level explanation of how the flexbox-like layout algorithm in Clay works.
The library can be found at github.com/nicbarker/clay
If you're not familiar with Clay, a detailed introductory video can be found here:
• Introducing Clay - High Performance U...
If you would like to learn a bit more about how trees are implemented, see this video:
• Data Structures, Explained Simply
The paper on constraint solvers: arxiv.org/pdf/1401.1031
Facebook's "Yoga" layout library which was mentioned: github.com/facebook/yoga
コメント