HNHacker News
TopNewBestAskShowJobs

nicbarkeragain

13 karma · joined August 27, 2024

submissionscomments
nicbarkeragain··on Clay (short for C Layout) is a high performance 2D UI layout library
I've fixed it up :)
nicbarkeragain··on Clay (short for C Layout) is a high performance 2D UI layout library
Author here - apologies that the site didn't work correctly for you. Just OOI did it default to the Canvas renderer when you first opened it?
nicbarkeragain··on Clay (short for C Layout) is a high performance 2D UI layout library
Author here. I'm sorry that it performs poorly on your machine - if it makes any difference, it's the rendering that is slow, not the layout. The HTML examples are more meant as a demo than anything else, as the library actually doesn't do any rendering itself at all, it's exclusively a layout tool. I'm honestly not sure why the performance differs significantly between machines - I'm on an M1 mbp / firefox and it scrolls at 120 fps for me.
nicbarkeragain··on Clay (short for C Layout) is a high performance 2D UI layout library
Author here - yes you caught me. I'm building an asm IDE in C (which is why I ended up building this layout library in the first place) and the screenshot is from that application, specifically while building a NES game for Pikuma's NES/6502 course :)
nicbarkeragain··on Clay (short for C Layout) is a high performance 2D UI layout library
Author here, thanks for pointing that out - I'll implement it now.