Jump to content

WebGL:Test: Revision history

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

1 February 2026

  • curprev 15:3915:39, 1 February 2026 Dane talk contribs 2,292 bytes +2,292 Created page with "// Simple test scene - rotating triangle scene.init = function (gl, canvas) { var vsSource = ` attribute vec4 aPosition; attribute vec3 aColor; uniform float uTime; varying vec3 vColor; void main() { float c = cos(uTime); float s = sin(uTime); mat2 rot = mat2(c, -s, s, c); vec2 pos = rot * aPosition.xy; gl_Position = vec4(pos, 0.0, 1.0);..."