JupyterLite ist nun Teil des Projekts Jupyter

JupyterLite ist eine JupyterLab-Distribution, die vollständig im Webbrowser ausgeführt wird und ohne Backend auskommt. Die Kernel werden mithilfe von WebAssembly direkt im Browser gestartet, wodurch ein Anwendungsserver überflüssig wird. https://kantel.github.io/posts/2026021602_jupyter_lite/ #JupyterLite #Jupyter #JupyterLab #Python #PyScript #Pyodide #P5js #DataScience #StatischeSeiten

I just released pyglobegl 0.8.0 to PyPi to support the Hex Bin layer. This layer was a challenge as globe.gl relies on frontend JavaScript functions being passed to do hex height and colour calculations. I'm trialling an integration with #pyscript to let you write those functions in #python #datavis
The https://pyscript.com "platform" for hosting/serving and sharing #pyscript projects seems very cool... I wish they had a "download project" button to make it easy to move your project elsewhere. As they seem to be moving towards some "paid tier features", making it easy to take everything out would be nice, would feel less like putting on a risk of being inadvertently locked in.
PyScript

Invent

Inspired by @samwho 's brilliant interactive essays, I wrote an interactive explanation of the floodfill algorithm in #Python

(Also in preparation for #AdventofCode)

Give it a read and let me know what you think -> https://mathspp.com/blog/floodfill-algorithm-in-python

I tried using #PyScript for the interactive demos...

It worked out alright but I'm not sure if it's worth it:

I could've cobbled something together in JS and visitors wouldn't have to wait for PyScript to load...

What do you folks think?

Floodfill algorithm in Python

Learn how to implement and use the floodfill algorithm in Python.

Zurück zum Code: Bouncing Balls mit Py5 und Proceso

Wie ich schon in meiner jüngsten Update-Meldung zu Py5, dem Processing-Python3-Modul, angedeutet hatte, interessiert mich, welche Code-Änderungen notwendig sind, wenn ich Py5-Skripte nach Proceso, der PyScript-Version von Processing und Python, portiere (oder vice versa). Also habe ich als ersten Test das sattsam bekannte Bouncing-Balls-Beispiel einmal in Proceso implementiert https://kantel.github.io/posts/2025091001_bouncing_balls/ #Python #Py5 #Proceso #Processing #PyScript

Animierte GIFs in Proceso

Gestern abend stolperte ich über dieses Video, in dem der User Kenney Yip Coding ein Entenjagdspiel in pure JavaScript und dem HTML Canvas programmierte. Das ist an sich noch nichts Besonderes, aber die Bilder der Enten, die er verwendete, waren animierte GIFs, und da stellte sich mir die Frage, ob das nicht auch in Python ginge. https://kantel.github.io/posts/2025090801_anim_gif_proceso/ #Proceso #Processing #Python #PyScript #CreativeCoding #GameDev

Ein Partikelsystem mit Proceso und PyScript

Das kleine Planetensystem mit den rotierenden Kisten, das ich vor etwa einer Woche mit Proceso und PyScript realisiert hatte, erinnerte mich an ein Partikelsystem in zwei Stufen, an dem vor mehr als einem Jahr in microStudio mit Brython versucht hatte. Vor allem, da in der zweiten Stufe die Partikel teilweise ebenfalls rotierende Quadrate waren. https://kantel.github.io/posts/2025072101_partikel_proceso/ #Proceso #Python #PyScript #Processing #NatureOfCode #CreativeCoding