• About Us
  • Privacy Policy
  • Disclaimer
  • Contact Us
AimactGrow
  • Home
  • Technology
  • AI
  • SEO
  • Coding
  • Gaming
  • Cybersecurity
  • Digital marketing
No Result
View All Result
  • Home
  • Technology
  • AI
  • SEO
  • Coding
  • Gaming
  • Cybersecurity
  • Digital marketing
No Result
View All Result
AimactGrow
No Result
View All Result

What’s !essential #10: HTML-in-Canvas, Hex Maps, E-ink Optimization, and Extra

Admin by Admin
May 2, 2026
Home Coding
Share on FacebookShare on Twitter


Builders have been experimenting with HTML-in-Canvas, a hexagonal world map-analytics characteristic, a web-based OS for e-ink gadgets, changing img srcs utilizing content material, and extra. That is What’s !essential #10.

HTML-in-Canvas experiments

HTML-in-Canvas, a brand new API that allows us to render actual semantic HTML in a with visible results, is the speak of the city proper now, so let’s lead with that. Amit Sheen confirmed us how the HTML-in-Canvas API works, and in addition created some demos over on the HiC Showroom, like this one (requires Chrome 146 with the chrome://flags/#canvas-draw-element flag enabled):

Constructing a hexagonal world map-analytics characteristic

Ben Schwarz (superior identify, however no relation) talked about constructing a hexagonal world map-analytics characteristic. Whereas it’s extra of a retrospective than a developer walkthrough, it’s a actually attention-grabbing examine analytics, design constraints, inspiration, engineering, and naturally SVG and CSS.

A world map composed of small hexagons colored in orange, green, and red.
Supply: Calibre.

Rekindle — a web-based OS for e-ink gadgets

Rekindle is mainly a web-based working system for e-ink gadgets like Kindle, Kobo, and Boox, which are sometimes low-powered with few options. Rekindle contains an insane variety of options and apps, and is designed in black-and-white, with no animations, and little doubt with many extra e-ink optimizations.

A black and white user interface for Rekindle that primarily shows a grid of app icons.

The takeaway isn’t a tutorial (sadly) and even some commentary (like with the world map retrospective above), it’s that we have now a complete bunch of media queries that’d be so helpful for e-ink gadgets if it weren’t for the truth that they’re transport with low-powered, proprietary net browsers that don’t acknowledge them. Media Queries Degree 5 can question hover functionality, the precision of pointers, show replace frequency, shade depth, monochromatic bit-depth, shade index measurement, dynamic vary, and extra, most likely.

Ideas? Is e-ink optimization prone to get away within the coming years, or is low demand for these media queries why a devoted service like Rekindle must exist? It’s price noting that the browsers and most of the media queries are in lively growth, so I don’t know. Watch this house, perhaps?

Both approach, I’d like to see a dev deep dive on Rekindle!

Changing img srcs utilizing content material

Jon found that CSS can be utilized to interchange picture sources, like this:

Alt text
img {
  content material: url(new-image.png) / "New alt textual content";
}

TIL! Who knew you can change the “src” of an #HTML utilizing #CSS:

img { content material: url(no matter.png) }

NO PSEUDOS!

Appears to work in all present browsers too. How did I miss this?

— Jon (@scrwd.mastodon.social.ap.brid.gy) Apr 20, 2026 at 13:09

It’s actually attention-grabbing to be taught this in regards to the content material property, which has been Baseline for 11 years now. I experimented a bit extra and found that this trick additionally works with the image-set() perform:

img {
  content material: image-set(
    url("https://css-tricks.com/whats-important-10/picture.png") 1x,
    url("image-2x.png") 2x
  );
}

So if you happen to’re engaged on an internet site with non-responsive s and no strategy to change the markup, write the logic in CSS as a substitute.

Implementing responsive photographs with sizes=auto

Having mentioned that, if you happen to do have entry to the HTML, you’ll wish to serve responsive photographs utilizing the srcset and sizes HTML attributes. Mat Marquis demonstrated how the brand new sizes=auto attribute-value mixture replaces responsive breakpoints for photographs which are loaded lazily.

When you’re , Amit Sheen additionally talked about constructing layouts (not essentially photographs) with out breakpoints.

New net platform options and updates

When you’re eager for extra content material, right here’s Wes Bos and Scott Tolinski of Syntax.fm discussing 10 new CSS and HTML APIs:

Till subsequent time!

Tags: EinkHexHTMLinCanvasimportantMapsOptimizationWhats
Admin

Admin

Next Post
Magic’s new Hobbit dragon has a wild MTG combo with a D&D card

Magic's new Hobbit dragon has a wild MTG combo with a D&D card

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recommended.

Eyes of Wakanda Sneak Peek Has A Black Panther Omission

Eyes of Wakanda Sneak Peek Has A Black Panther Omission

July 2, 2025
Crimson Desert Units Large Steam Concurrent Participant Rely Minutes After Launch

Crimson Desert Units Large Steam Concurrent Participant Rely Minutes After Launch

March 20, 2026

Trending.

The way to Clear up the Wall Puzzle in The place Winds Meet

The way to Clear up the Wall Puzzle in The place Winds Meet

November 16, 2025
Researchers Uncover Crucial GitHub CVE-2026-3854 RCE Flaw Exploitable by way of Single Git Push

Researchers Uncover Crucial GitHub CVE-2026-3854 RCE Flaw Exploitable by way of Single Git Push

April 29, 2026
Google Introduces Simula: A Reasoning-First Framework for Producing Controllable, Scalable Artificial Datasets Throughout Specialised AI Domains

Google Introduces Simula: A Reasoning-First Framework for Producing Controllable, Scalable Artificial Datasets Throughout Specialised AI Domains

April 21, 2026
Google DeepMind Introduces Decoupled DiLoCo: An Asynchronous Coaching Structure Reaching 88% Goodput Below Excessive {Hardware} Failure Charges

Google DeepMind Introduces Decoupled DiLoCo: An Asynchronous Coaching Structure Reaching 88% Goodput Below Excessive {Hardware} Failure Charges

April 24, 2026
5 AI Compute Architectures Each Engineer Ought to Know: CPUs, GPUs, TPUs, NPUs, and LPUs In contrast

5 AI Compute Architectures Each Engineer Ought to Know: CPUs, GPUs, TPUs, NPUs, and LPUs In contrast

April 10, 2026

AimactGrow

Welcome to AimactGrow, your ultimate source for all things technology! Our mission is to provide insightful, up-to-date content on the latest advancements in technology, coding, gaming, digital marketing, SEO, cybersecurity, and artificial intelligence (AI).

Categories

  • AI
  • Coding
  • Cybersecurity
  • Digital marketing
  • Gaming
  • SEO
  • Technology

Recent News

Magic’s new Hobbit dragon has a wild MTG combo with a D&D card

Magic’s new Hobbit dragon has a wild MTG combo with a D&D card

May 2, 2026
What’s !essential #10: HTML-in-Canvas, Hex Maps, E-ink Optimization, and Extra

What’s !essential #10: HTML-in-Canvas, Hex Maps, E-ink Optimization, and Extra

May 2, 2026
  • About Us
  • Privacy Policy
  • Disclaimer
  • Contact Us

© 2025 https://blog.aimactgrow.com/ - All Rights Reserved

No Result
View All Result
  • Home
  • Technology
  • AI
  • SEO
  • Coding
  • Gaming
  • Cybersecurity
  • Digital marketing

© 2025 https://blog.aimactgrow.com/ - All Rights Reserved