Embed a piece

Any piece on the wall can move on your page too. Each way below is live on this page, showing a piece from the wall.

An iframe

A small player: the canvas, play and pause, and a link back. It loads lazily and only starts when it scrolls into view. Add ?view=runes to its address for the piece's runes instead: the circle casts itself, then the piece runs in it.


          
        

A web component

Add the script once, then use <squiggle-piece> with an id from the wall or the code itself. Pieces run in a Web Worker under the same step and memory limits as the studio, and only while on screen. The script is under 30 KB gzipped.


          
        

oEmbed

Blogs and tools that speak oEmbed unfurl a piece link into the player on their own. Piece pages announce the endpoint in a <link rel="alternate"> tag.


        
loading…

A README badge

An animated SVG preview (up to 2 seconds of a simple piece; heavier pieces show a still) that works in a GitHub README.