Almar Klein
I got hooked on Python during my PhD in medical image analysis. I'm now an independent software engineer, taking an interest in (3D) visualization, bringing Python to the web, WebAssembly, and more. In the past few years my main focus is on growing wgpu and PyGfx.
Session
In this talk, I'll live-code an interactive visualization that generates images as numpy arrays. I'll then show how the small application we made can run anywhere: in a native window, embedded in a Qt application, in a notebook, in VS Code, and fully in the browser with Pyodide.
The purpose of this talk is twofold. Firstly, this talk demonstrates how easy and fun it can be to create interactive visualizations. Such applications can also be used for educational purposes, annotation tools, demonstrating research findings, etc.
Secondly, this talk introduces the rendercanvas library, which provides an abstraction for a canvas to render to, with user events going the other way, in the form of simple dicts. Rendercanvas provides two types of contexts for rendering: bitmap (used in this talk) and wgpu (for performant GPU rendering).