Blogs / Personal blogs

nakst

nakst.gitlab.io

Popular posts
1
Total points
110
HN comments
24
Rank
#19,995 personal

Visit nakst.gitlab.io → On Hacker News Dec 2025 – Dec 2025

Web & Frontend 1Software Engineering 1

1

Let's write a toy UI library

We begin by writing a few helper functions that will invariably prove useful to us later. We will be dealing with a lot of rectangular regions on the screen, so it makes sense to start by defining a rectangle structure and write some code to manipulate it.