Back

HTML-in-Canvas Lenticular Effect

Apr 29, 2026

An experimental lenticular effect prototype using HTML-in-Canvas and WebGL.

HTML-in-CanvasWebGLChrome Canary

Overview

This is a small experimental project built around the HTML-in-Canvas proposal and currently intended to run in Chrome Canary with the required flag enabled.

It renders two same-origin HTML mocks inside a canvas layoutsubtree, uploads them to WebGL with texElementImage2D, and blends them in a shader to simulate a mouse-driven lenticular effect.