• v1.4.0 291ed9c57e

    jkaindl released this 2026-05-28 12:22:15 +00:00 | 334 commits to main since this release

    Embeddable web component player

    Physarum simulations can now be embedded on any website as a self-contained
    web component — purely visual playback (no audio), no dependency on the editor app.

    <script type="module" src="https://jkaindl.codeberg.page/physarum/physarum-player.js"></script>
    
    <physarum-player preset="builtin:aurora"></physarum-player>
    
    • Four preset sourcesbuiltin:<id>, token:<share> (the editor's share
      token), url:<href>, or json:<inline>.
    • Playlists that auto-cycle on an interval, with loop.
    • Minimal controls (auto/always/none): play/pause, prev/next, fullscreen.
    • Off-screen pause (IntersectionObserver) and a poster fallback when
      WebGPU is unavailable (built-ins use their thumbnail).
    • JS API.play() .pause() .next() .prev() .load(source) plus
      physarum:ready / physarum:presetchange / physarum:error events.
    • Editor: Copy embed code action builds a ready-to-paste snippet.
    • Also embeddable via iframe: player.html?preset=builtin:aurora.

    Try it: https://jkaindl.codeberg.page/physarum/player.html?preset=builtin:aurora

    Full changelog: see CHANGELOG.md.


    Installing on macOS

    The macOS build is not Apple-notarised (this is a hobby project).
    First launch shows "Apple could not verify this app." Two-minute fix:

    1. Click Done on the warning (NOT "Move to Trash"!).
    2. Apple menu -> System Settings -> Privacy & Security.
    3. Scroll to the bottom -> Open Anyway next to the Physarum notice
      -> confirm with password / Touch ID.
    4. Final dialog: Open Anyway once more.

    The second launch is silent. If the "Open Anyway" button is missing
    (newer macOS versions), in Terminal:

    xattr -dr com.apple.quarantine /Applications/Physarum.app
    

    Background and walkthrough: docs/MACOS-APP.md.

    Downloads