Somehash: A Blurhash-Inspired Exploration
Published on: 2025-04-26 20:36:48
I am a lifelong learner, creator, explorer, and tinkerer. This is a collection of my experiences.
Somehash: A Blurhash Inspired Exploration
Posted Sat, 08 Feb 2025
(Jump Ahead: Demo and Code)
Humans have short attention spans. Websites take time to load. What can be done to prevent visitors from leaving?
Blurhash, shown below, is one such solution. It offers quick loading placeholder images that do a great job of capturing the attention of visitors until the actual content is ready.
Blurhash in Action
This in-between space is rather interesting, often neglected, and rarely explored. Let's go on a journey and build an image placeholder, Somehash, from scratch.
Overview
The journey of an image occurs in three stages: processing, placeholding, and loading. First, information is extracted from the image, hashed, and stored. Next, a React component retrieves the hash and renders a placeholder image. Finally, the full-resolution image is loaded.
Creative Exploration
The first step
... Read full article.