Skip to content

Instantly share code, notes, and snippets.

View joaomelorodrigues's full-sized avatar

Joao Rodrigues joaomelorodrigues

View GitHub Profile
@joaomelorodrigues
joaomelorodrigues / gist:100356582f67672c8c9ec926a52c59d5
Created April 19, 2026 07:36
Three.js + HTML-in-canvas + WebXR example
<!DOCTYPE html>
<html lang="en">
<head>
<title>three.js webgpu - materials - html texture (WebXR)</title>
<meta charset="utf-8" />
<meta
name="viewport"
content="width=device-width, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0"
/>
<style>