Comment

Comment by joeldo

For vector style graphics (like in the article) - You can achieve this quite simply on the web with SVG DOM.

You can add event listeners to the SVG's paths/groups and apply fill when clicked.

parent joeldo 3 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton