Blogs / Personal blogs

Project Nayuki

nayuki.io

My interests are in computer science and mathematics, and I strive to write clean, simple code for practical applications.

Popular posts
8
Total points
1,705
HN comments
1,078
Rank
#1,041 personal

Visit nayuki.io → On Hacker News May 2016 – Apr 2025

Software Engineering 8Math & Algorithms 3Tools & Productivity 2Programming Languages 2Web & Frontend 1

1

Pixel is a unit of length and area

When measuring the size of a two-dimensional digital picture, the unit pixel is used in a weird overloaded way. Sometimes, it is used as a unit of linear length. For example, each frame of an animation is 1920 pixels wide and 1080 pixels tall. The Cascading Style Sheets (CSS) web standard has px as a unit of length…