Source for the six WebGL demos at https://markcassidyconsulting.com/showcases/webgl/, plus the Boing Ball that runs as the hero on the showcase landing page.
Each file is a single Astro component containing HTML, scoped CSS, and the TypeScript that drives the canvas. Drop a file into an Astro project (src/components/) and reference it from a page; or copy the contents of the <script> block into a vanilla setup that already has three installed and stitch the markup + CSS by hand.
| File | Technique |
|---|