Skip to content

Instantly share code, notes, and snippets.

View greggman's full-sized avatar
😁

Greggman greggman

😁
View GitHub Profile
@greggman
greggman / README.md
Last active August 28, 2025 18:05
HDR draw
@greggman
greggman / webgpu-design-principles.md
Last active August 27, 2025 23:57
WebGPU Design Principles

WebGPU Design Principles

WebGPU has certain design principles that lead to certain decisions. This document is my opinion of what those principles are what some of the conclusions they lead to

Core Design Principles

  1. Be Safe
  2. Be Portable
@greggman
greggman / jj.md
Last active August 26, 2025 17:21
jj notes

jj notes

Assume you have commits A B C D E where E is the newest commit

show jj commits (not the same as git commits)

jj log
@greggman
greggman / README.md
Last active August 21, 2025 23:33
Tiny-ish maze code
@greggman
greggman / README.md
Created August 20, 2025 06:26
Canvas HDR WTF
@greggman
greggman / README.md
Last active August 15, 2025 17:38
WebGPU Cube with different indices for position, normal, uvs by using storage buffers

WebGPU Cube with different indices for position, normal, uvs by using storage buffers

view on jsgist

@greggman
greggman / README.md
Last active August 13, 2025 03:14
WebGPU: Compute shader encoders out-of-order
@greggman
greggman / README.md
Created August 11, 2025 17:17
Pop Art (CSS)
@greggman
greggman / README.md
Created August 10, 2025 01:19
Zoom for drawElement
@greggman
greggman / README.md
Created August 9, 2025 23:04
Checking ResizeObserver devicePixelContentBoxSize