Python Sandbox
Real Python, running in your browser. Nothing is installed and nothing is sent to a server — CPython itself is compiled to WebAssembly and executes on your own machine.
-
Fargelab
A colour laboratory for BGR and HSV as OpenCV uses them. Change a colour in one model and the other is recalculated; the RGB cube and HSV cylinder render in 3D with a slice cut out so you can see where your colour sits inside. The Python tab runs scripts and notebooks with OpenCV, numpy and matplotlib.
Pyodide · OpenCV.js · three.js -
Workspace
The same app, but wired to its file API: notebooks live in the project's
PIN · saves to diskskript/folder on the server instead of in browser storage, and scripts can read the images inbilder/. PIN required.
First load is a big one
The Python runtime is about 20 MB compressed — CPython, OpenCV, numpy, matplotlib and Pillow as WebAssembly. Expect a few seconds the first time; after that your browser has it cached and startup is quick. The status lamp under the colour band turns green once OpenCV.js is up.
Ten worked examples are built in, from colour conversion to Canny edge
detection and matplotlib histograms. Scripts you write are saved in
your own browser — use Download if you want to keep one.