3 AIs make a triangle in WebGL

Use this code as a starting point for learning WebGL.

It contained approaches from ChatGPT, Claude, and Gemini.

It renders a triangle.

It uses vite.

I had to encourage Gemini to get it working, but the other two worked immediately.

Get started

  1. clone the repo

  2. cd into one of the ai directories

  3. npm install

  4. npm run dev

  5. Open the browser at the specified localhost:port