---
title: "gpu-curtains"
description: "Lightweight WebGPU rendering library that turns DOM elements into textured planes and meshes driven by WGSL shaders."
canonical: "https://vibing.inc/library/gpu-curtains-vg-1793"
category: "Shaders, WebGL & Creative Coding"
subcategory: "WebGPU engines"
license: "MIT"
author: "Martin Laxenaire (@martinlaxenaire)"
source: "https://github.com/martinlaxenaire/gpu-curtains"
---

# gpu-curtains
Lightweight WebGPU rendering library that turns DOM elements into textured planes and meshes driven by WGSL shaders.
## Facts
- Source: https://github.com/martinlaxenaire/gpu-curtains
- Category: Shaders, WebGL & Creative Coding / WebGPU engines
- Author: Martin Laxenaire (@martinlaxenaire)
- Licence: MIT
- Tags: webgpu, wgsl, shaders, dom, 3d
## Why it's a gem
The curtains.js DOM-to-plane trick rebuilt for WebGPU; 180 stars, sixty-three releases deep.
---
Listed in The Vibeary: https://vibing.inc/library/gpu-curtains-vg-1793 · JSON: https://vibing.inc/api/public/library/gems/gpu-curtains-vg-1793