This is an alternative site for discovering Elm packages. You may be looking for the official Elm package site instead.
1.0.0 1.0.1
Experimental package for visualizing siteswaps
version 1.0.1
license BSD3
native-modules False
elm-version 0.18.0 <= v < 0.19.0
Tag 1.0.2
Committed At 2018-07-07 21:37:02 UTC
elm-lang/window 1.0.1 <= v < 2.0.0 1.0.1
elm-lang/svg 2.0.0 <= v < 3.0.0 2.0.0
elm-lang/html 2.0.0 <= v < 3.0.0 2.0.0
elm-lang/core 5.1.1 <= v < 6.0.0 5.1.1
elm-community/list-extra 7.1.0 <= v < 8.0.0 7.1.0



Siteswap Notation Rendering Engine

Experimental package for visualizing siteswaps. Siteswaps are a notation system used in juggling to represent patterns in space. It accepts input in the form of numbers 0-9 and brackets [,] (which denote multiplexes, i.e. synchronous events). The engine prints the input expression and draws arrows from each valid throwable position its related catch position. Multiplexes throw from their contents, but recieve at their opening bracket.




See the documentation on

Right now index.html exists so that a demo can live at To wit, index.html is not hand-generated. Instead, run `elm-make Main.elm --output=index.html' to build it.


{-| Generates an svg of the given siteswap.

    renderExpr <canvas width> <expression>
    renderExpr 500 "3[12][22]"



  • Higher-throw counts, i.e. [a-w] for throws greater than nine beats long.
  • Synch siteswap notation, i.e. (_,_) for per-hand notation.