html-in-canvas transition
Written on by Andre Vitorio
My feed has been flooded with HTML-in-canvas examples lately.
One of the coolest demos I’ve seen came from Zsolt Kacso (@kaolti on X).
The effect shows a regular website, but instead of switching between dark and light mode, it switches between human and agent mode: one view for the website, another for the MCP spec.
Credits: @kaolti
Notice:
Since html-in-canvas is a new WICG proposal, it is currently hidden behind a feature flag in Chrome Canary (typically version 146 or higher).
- Download and open Google Chrome Canary.
- Type
chrome://flags/#canvas-draw-elementinto the address bar and press Enter. - Locate the Canvas Draw Element flag.
- Change the setting to Enabled.
- Click the Relaunch button at the bottom of the window to apply changes.

















