Skip to content

Instantly share code, notes, and snippets.

@dleeftink
dleeftink / index.html
Created June 30, 2023 03:16 — forked from subzey/index.html
Adding numbers with WebGL2 Transform Feedback
<!doctype html>
<html>
<head>
<title>Adding numbers with WebGL2 Transform Feedback</title>
</head>
<body>
<h1>Adding numbers with WebGL2 Transform Feedback.</h1>
<output></output>
<script src="webgl.js"></script>
<p>View <a href="webgl.js">the commented source</a>!</p>
@dleeftink
dleeftink / webgl.js
Created June 30, 2023 03:20 — forked from abrahamjuliot/webgl.js
webgl fingerprint
// Based on and inspired by https://github.com/CesiumGS/webglreport
// https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API/Constants
const WebGLConstants = [
'ALIASED_LINE_WIDTH_RANGE',
'ALIASED_POINT_SIZE_RANGE',
'ALPHA_BITS',
'BLUE_BITS',
'DEPTH_BITS',
'GREEN_BITS',