I rewatched Łukasz Langa’s PyCon talk, Build in-browser 3D experiences with WebGL and PyScript (after watching it live in-person). Watching the recording and having my laptop on hand allowed me to try it out myself, which is quite fun!

Łukasz conveniently has the projects available on his pyscript.com profile, making it pretty easy to steal reproduce his demos 🙃 (https://pyscript.com/@itamaro)

  1. Using raw WebGL - a static triangle: https://itamaro.pyscriptapps.com/raw-webgl-static-triangle/latest/
  2. Making the triangle from above “animated”: https://itamaro.pyscriptapps.com/raw-webgl-animated-triangle/latest/
  3. Using three.js - a float through the cubiverse: https://itamaro.pyscriptapps.com/cubiverse-float/latest/