home.social

#pyscript — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #pyscript, aggregated by home.social.

fetched live
  1. 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. kantel.github.io/posts/2026021 #JupyterLite #Jupyter #JupyterLab #Python #PyScript #Pyodide #P5js #DataScience #StatischeSeiten

  2. 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. kantel.github.io/posts/2026021 #JupyterLite #Jupyter #JupyterLab #Python #PyScript #Pyodide #P5js #DataScience #StatischeSeiten

  3. The 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.

  4. The 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.

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

    (Also in preparation for )

    Give it a read and let me know what you think -> mathspp.com/blog/floodfill-alg

    I tried using 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?

  6. 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 -> mathspp.com/blog/floodfill-alg

    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?

  7. 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 kantel.github.io/posts/2025091 #Python #Py5 #Proceso #Processing #PyScript

  8. 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 kantel.github.io/posts/2025091 #Python #Py5 #Proceso #Processing #PyScript

  9. 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. kantel.github.io/posts/2025090 #Proceso #Processing #Python #PyScript #CreativeCoding #GameDev

  10. 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. kantel.github.io/posts/2025090 #Proceso #Processing #Python #PyScript #CreativeCoding #GameDev

  11. 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. kantel.github.io/posts/2025072 #Proceso #Python #PyScript #Processing #NatureOfCode #CreativeCoding

  12. 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. kantel.github.io/posts/2025072 #Proceso #Python #PyScript #Processing #NatureOfCode #CreativeCoding

  13. Ein kleines Planetensystem mit Proceso

    Als eines meiner nächsten Projekte mit PyScript und Proceso möchte ich in drei Stationen eine kleine Animation eines Planetensystems entwickeln. Dabei möchte ich zeigen, wie nützlich für solch eine Simulation die Transformationsoperatoren translate() und rotate() sein können. kantel.github.io/posts/2025071 #Proceso #Python #PyScript #Processing #Simulation #CreativeCoding

  14. Ein kleines Planetensystem mit Proceso

    Als eines meiner nächsten Projekte mit PyScript und Proceso möchte ich in drei Stationen eine kleine Animation eines Planetensystems entwickeln. Dabei möchte ich zeigen, wie nützlich für solch eine Simulation die Transformationsoperatoren translate() und rotate() sein können. kantel.github.io/posts/2025071 #Proceso #Python #PyScript #Processing #Simulation #CreativeCoding

  15. Spaß mit Proceso: For Your Eyes Only

    Nach meinem gestrigen Abenteuer mit Py5, dem Python3-Port von Processing, wollte ich heute etwas völlig Sinnbefreites mit PyScript und Proceso anstellen, denn Proceso lehnt sich sehr stark an Py5 an (es ist in der Syntax nahezu identisch), nur daß es im Browser lauffähige Sketche erzeugt. kantel.github.io/posts/2025071 #Proceso #Python #Processing #Py5 #PyScript #CreativeCoding

  16. Spaß mit Proceso: For Your Eyes Only

    Nach meinem gestrigen Abenteuer mit Py5, dem Python3-Port von Processing, wollte ich heute etwas völlig Sinnbefreites mit PyScript und Proceso anstellen, denn Proceso lehnt sich sehr stark an Py5 an (es ist in der Syntax nahezu identisch), nur daß es im Browser lauffähige Sketche erzeugt. kantel.github.io/posts/2025071 #Proceso #Python #Processing #Py5 #PyScript #CreativeCoding

  17. Shaun das Schaf und seine Spießgesellen: Eine Simulation in vier Schritten

    Ich habe beschlossen, mich für Python-Projekte (außer Spielen), die im Browser laufen sollen, erst einmal auf PyScript mit Proseco zu beschränken. Als ersten echten Testfall habe ich mir dann ein Projekt herausgesucht, das ich schon im März 2019 einmal in Processing.py programmiert hatte: Shaun das Schaf und seine Spießgesellen. kantel.github.io/posts/2025070 #PyScript #Proseco #Python #Simulation #CreativeCoding

  18. Shaun das Schaf und seine Spießgesellen: Eine Simulation in vier Schritten

    Ich habe beschlossen, mich für Python-Projekte (außer Spielen), die im Browser laufen sollen, erst einmal auf PyScript mit Proseco zu beschränken. Als ersten echten Testfall habe ich mir dann ein Projekt herausgesucht, das ich schon im März 2019 einmal in Processing.py programmiert hatte: Shaun das Schaf und seine Spießgesellen. kantel.github.io/posts/2025070 #PyScript #Proseco #Python #Simulation #CreativeCoding

  19. Weil ich gestern den Link vergessen hatte, hier der gleiche Trööt noch einmal (aber diesmal mit Link):

    Prost! Erste Schritte mit Prosec(c)o

    Durch meinen gestrigen Beitrag angefixt, wollte ich heute unbedingt etwas mit PyScript und Proseco anstellen. kantel.github.io/posts/2025062 #Python #PyScript #Proseco #Creative Coding

  20. Weil ich gestern den Link vergessen hatte, hier der gleiche Trööt noch einmal (aber diesmal mit Link):

    Prost! Erste Schritte mit Prosec(c)o

    Durch meinen gestrigen Beitrag angefixt, wollte ich heute unbedingt etwas mit PyScript und Proseco anstellen. kantel.github.io/posts/2025062 #Python #PyScript #Proseco #Creative Coding

  21. Prost! Erste Schritte mit Prosec(c)o

    Durch meinen gestrigen Beitrag angefixt, wollte ich heute unbedingt etwas mit PyScript und Proseco anstellen. Nachdem mich die Dokumentation erst einmal in die Irre führte (pip install proceso funktionierte bei mir einfach nicht), fand ich durch wildes Herumexperimentieren heraus, daß ich Proseco auch lokal auf meinem Rechner ohne eine vorhergegangene Installationsorgie betreiben kann: #Python #Proseco #PyScript #CreativeCoding

  22. Prost! Erste Schritte mit Prosec(c)o

    Durch meinen gestrigen Beitrag angefixt, wollte ich heute unbedingt etwas mit PyScript und Proseco anstellen. Nachdem mich die Dokumentation erst einmal in die Irre führte (pip install proceso funktionierte bei mir einfach nicht), fand ich durch wildes Herumexperimentieren heraus, daß ich Proseco auch lokal auf meinem Rechner ohne eine vorhergegangene Installationsorgie betreiben kann: #Python #Proseco #PyScript #CreativeCoding

  23. Auf zu neuen Ufern? Python im Browser

    Bei all meiner (wiedererwachten) Begeisterung für TigerJython habe ich nicht vergessen, daß der Software eine wichtige Eigenschaft fehlt: TigerJython läuft nicht im Browser. Das ist natürlich in der heutigen Zeit ein schwerwiegendes Handicap und so habe ich mich nach Alternativen umgeschaut. kantel.github.io/posts/2025062 #Python #TigerJython #Trinket #Turtle #VPython #PyScript #Proseco #PygameCE #Pygbag #Pyxel #microStudio #Brython #CreativeCoding

  24. Auf zu neuen Ufern? Python im Browser

    Bei all meiner (wiedererwachten) Begeisterung für TigerJython habe ich nicht vergessen, daß der Software eine wichtige Eigenschaft fehlt: TigerJython läuft nicht im Browser. Das ist natürlich in der heutigen Zeit ein schwerwiegendes Handicap und so habe ich mich nach Alternativen umgeschaut. kantel.github.io/posts/2025062 #Python #TigerJython #Trinket #Turtle #VPython #PyScript #Proseco #PygameCE #Pygbag #Pyxel #microStudio #Brython #CreativeCoding

  25. Stoked for my WebGL tutorial on Thursday morning at @pycon. 3:30h to show all the basic components of 3D graphics? Might be ambitious! But I'll do my best.

    Hopefully the conference wi-fi won't betray us 🤞🏻🤞🏻

    #PyConUS #PyConUS2025 #Python #PyScript #Threejs

  26. Stoked for my WebGL tutorial on Thursday morning at @pycon. 3:30h to show all the basic components of 3D graphics? Might be ambitious! But I'll do my best.

    Hopefully the conference wi-fi won't betray us 🤞🏻🤞🏻

    #PyConUS #PyConUS2025 #Python #PyScript #Threejs

  27. Because I do a fair amount of frontend work but think most frontend frameworks are overkill, I use #HTMX and #alpinejs a lot. And @glyph's #NBPy talk made me think about what a #PyScript package that combines both and provides #python handles to both would look like.

    What could I build if I had a drop-in #django package that gave me all the interaction I wanted while writing python code?

  28. Because I do a fair amount of frontend work but think most frontend frameworks are overkill, I use #HTMX and #alpinejs a lot. And @glyph's #NBPy talk made me think about what a #PyScript package that combines both and provides #python handles to both would look like.

    What could I build if I had a drop-in #django package that gave me all the interaction I wanted while writing python code?

  29. File formats as Emoji: 0xffae


    by @beet_keeper

    tldr: emoji.exponentialdecay.co.uk

    File Formats As Emoji (0xFFAE or 0xffae) might be my most random file format hack yet. Indeed, it is a random page generator! But it generates random pages of file formats represented as Emoji.

    The idea came in 2016 with radare releasing a new version that supported an emoji hexdump. I wondered whether I could do something fun combining file

    #0xffae #Code #Coding #digipres #digitalLiteracy #DigitalPreservation #emoji #FileFormat #FileFormatIdentification #FileFormats #learning #PRONOM #pyscript #Python #SkeletonTestCorpus #teaching

  30. I took part in #PyWeek 39 over the weekend and made a game in #PyScript. It's a single-tap rhythm game. Should work on any desktop browser and most new phones. It was a fun challenge to make a game where the realtime music sync is so important. You want to let people tap a little too late and still have the game allow it. You want it to be playable with Bluetooth headphones and keyboards that add a lot of latency.

    Play at ambv.pyscriptapps.com/streamli

    #Python #GameDev #GameJam #IndieDev #IndieGame

  31. I took part in #PyWeek 39 over the weekend and made a game in #PyScript. It's a single-tap rhythm game. Should work on any desktop browser and most new phones. It was a fun challenge to make a game where the realtime music sync is so important. You want to let people tap a little too late and still have the game allow it. You want it to be playable with Bluetooth headphones and keyboards that add a lot of latency.

    Play at ambv.pyscriptapps.com/streamli

    #Python #GameDev #GameJam #IndieDev #IndieGame

  32. 🐍✨ Ever wondered how to bring image recognition to the web? Come join us tomorrow (Thursday) at 7pm at Michigan Python!

    I'll be sharing how to build a mobile image recognition app using OpenCV and PyScript using a fun Pokémon example. We'll cover:
    - Building mobile-friendly computer vision apps
    - Running Python in the browser with PyScript
    - Real-world applications of OpenCV
    - Live demo and code examples

    See you there! 🎯📱

    meetup.com/michigan-python/eve

  33. 🐍✨ Ever wondered how to bring image recognition to the web? Come join us tomorrow (Thursday) at 7pm at Michigan Python!

    I'll be sharing how to build a mobile image recognition app using OpenCV and PyScript using a fun Pokémon example. We'll cover:
    - Building mobile-friendly computer vision apps
    - Running Python in the browser with PyScript
    - Real-world applications of OpenCV
    - Live demo and code examples

    #Python #OpenCV #PyScript #Pokemon

    See you there! 🎯📱

    meetup.com/michigan-python/eve

  34. The PyScript team released the first community newsletter today! 📰🐍 You can sign up at pyscript.net

  35. The PyScript team released the first community newsletter today! 📰🐍 You can sign up at pyscript.net #Python #PyScript

  36. #genuary26 prompt: symmetry.
    #genuary27 prompt: something interesting with no randomness or noise.

    If there's gotta be no randomness, you need to introduce control. I made this cute discontinued device called the #Monome Arc work with #PyScript. This is usually driven by a UDP server, but turns out browsers can't use UDP, so I wrote a WebSocket bridge. Looks like it works 😎

    ambv.pyscriptapps.com/genuary-

    #genuary2025 #genuary #GenerativeArt #CreativeCoding #WebGL #Python #Monome

  37. #genuary26 prompt: symmetry.
    #genuary27 prompt: something interesting with no randomness or noise.

    If there's gotta be no randomness, you need to introduce control. I made this cute discontinued device called the #Monome Arc work with #PyScript. This is usually driven by a UDP server, but turns out browsers can't use UDP, so I wrote a WebSocket bridge. Looks like it works 😎

    ambv.pyscriptapps.com/genuary-

    #genuary2025 #genuary #GenerativeArt #CreativeCoding #WebGL #Python #Monome

  38. #genuary21 prompt: a collision detection system.
    #genuary25 prompt: one line that doesn't intersect itself.

    The line segments really don't intersect. The first few seconds don't explain it, but things get more obvious later. Sound on.

    Made with #PyScript:
    ambv.pyscriptapps.com/genuary-

    #genuary2025 #genuary #GenerativeArt #CreativeCoding #WebGL #Python

  39. #genuary21 prompt: a collision detection system.
    #genuary25 prompt: one line that doesn't intersect itself.

    The line segments really don't intersect. The first few seconds don't explain it, but things get more obvious later. Sound on.

    Made with #PyScript:
    ambv.pyscriptapps.com/genuary-

    #genuary2025 #genuary #GenerativeArt #CreativeCoding #WebGL #Python

  40. #genuary18 prompt: What does wind look like?
    #genuary22 prompt: Gradients only.

    Looks more like a plant or urchin than wind, but this is where I ended up 🤷🏻‍♂️

    This is a breakneck pace. I'm falling behind the submissions, but hopefully things will get smoother from now on.

    Made with #PyScript:
    ambv.pyscriptapps.com/genuary-

    #genuary2025 #genuary #GenerativeArt #CreativeCoding #WebGL #Python