npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

obsidian-siteswap

v0.1.8

Published

Visualize siteswap juggling patterns in Obsidian.

Downloads

6

Readme

Obsidian Siteswap

This plugin renders the "Siteswap" juggling notation via the Juggling Lab GIF server. Full documentation for the GIF server is here.

This plugin requires an internet connection.

Straight forward siteswaps can be visualized via:

If you want to specify more details than just the pattern, use the following form:

Details are specified via YAML - each line contains the name of a key, followed by a colon and a space, followed by a value.

Some attributes can be defined globally via the plugin settings. If global settings conflict with the details specified for a given animation, the global attributes are overwritten.

Per Animation Settings

  • pattern: siteswap pattern to animate, in generalized siteswap notation.
  • bps: number of beats per second in the pattern, a floating point value. Default is automatically calculated from the pattern.
  • dwell: number of beats a catch is made prior to the subsequent throw. Values are floating-point numbers between 0.0 and 2.0; default value is 1.3.
  • hands: one of 'mills', 'inside', 'outside', 'half' or hand movement as a sequence of spatial coordinates for catches and throws and points in-between. Details here.
  • body: body movement as a sequence of angles and spatial coordinates. Details here.
  • colors: determines the coloring of the props. Each color is defined either by name or by its red/green/blue components on a 0-255 scale. For example if this setting is equal to {red} or {255,0,0}, the animator will use red balls. If you define several colors in a list, they are assigned to the balls in a cyclical manner. For example, {255,0,0}{0,255,0} means that ball 1 is red, ball 2 is green, ball 3 is red, ball 4 is green, and so on. Recognized color names are: black, blue, cyan, gray, green, magenta, orange, pink, red, yellow. Using the value mixed (no braces) will apply a pre-defined mix of colors. Default is {red}.
  • propdiam: diameter of the props, in centimeters. Default is 10.0.
  • prop: prop type to use. Recognized prop names are ball, image, and ring; default is ball.
  • gravity: acceleration of gravity, in cm/sec^2. Default is 980.0 (Earth standard).
  • bouncefrac: fraction of a ball's energy retained after bouncing off the ground (how much of its dropped height does it return to?). Values are floating point numbers greater than 0.0; default is 0.9.
  • hss: hand siteswap pattern to apply to the hands. See the documentation.
  • handspec: (for hss mode only) assignment of hands to jugglers; see documentation for format.
  • dwellmax: (for hss mode only) whether to automatically maximize dwell time. Default value is true.
  • hold: (for hss mode only) whether to hold throws that can be held. Default value is false.

Global Settings

  • width: Width of the animation, in pixels.
  • height: Height of the animation, in pixels.
  • scale: Scaling factor for the generated GIF. 1.0 performs no scaling.
  • fps: Number of frames per second in the generated GIF.
  • slowdown: Defines an overall time slowdown factor (e.g., slowdown: 1.0 is actual speed, slowdown: 2.0 is half actual speed).
  • showground: Whether to display the ground ("true", "false" or "auto").
  • camangle: Camera angles in degrees, given as one or a pair of angles. Example: camangle: (0,90). The first angle describes rotation of the camera around the juggler, and the second angle is the elevation angle given as degrees from directly overhead (i.e., 90 puts the camera on the same level as the juggler). Default value depends on the pattern.
  • hidejugglers: List of one or more jugglers to hide (i.e., not render) during animation. Examples: hidejugglers=1 or hidejugglers=(1,3).
  • stereo: Whether to display the pattern as a cross-eyed stereogram.