← All demos

The smallest end-to-end render

ShaderProgramGLBuffer → one draw call — nothing else. This page is meant to be read: view source for the complete, unabridged program.

~20 lines of code
Hello, triangle — the slider drives setUniform3f("color", …) Shader · Program · GLBuffer
168°

Start here, then work through the getting-started guide.