JuggleMaster

A 3D juggling simulator with full vanilla, sync and multiplex siteswap support as well as passing and bounce pattern support. Full support for Prechac notation for passing as well as ladder and causal diagrams for any pattern.

How it works

Official Project Page: github.com/perjg/jugglemaster

JuggleMaster is based on two separate juggling engines.

The first is the original JuggleMaster engine, which started out as a DOS program and was created by Ken Matsuoka in the mid-90s. It is one of the earliest publicly available juggling simulators. It had support for vanilla, sync and multiplex siteswap from the start.

This was the basis for the first version of jmlib, which is the portable C++ library everything here is built on top of.

The JuggleMaster engine is based on integer math and is optimized to run quickly on the computers of its time.

Later on, in the mid-2000s came JuggleSaver, which was a 3D juggling screensaver for Windows. The JuggleSaver engine is 3D, and it supported balls, clubs and rings with styling that let you control spin and orientation of the objects. A Linux screensaver version of this was also published as Juggler3D. JuggleSaver could only support vanilla siteswaps.

The Juggler3D source code was added to jmlib as an additional engine. The same 3D engine was then used to render JuggleMaster patterns in 3D with balls, clubs or rings.

A separate JavaScript port was also created (jmlib-js), but it stayed JuggleMaster and 2D only.

Except for a few improvements to the JavaScript version, the project has been mostly idle for 20 years.

In 2025, I started tinkering with it again, and ended up enhancing and adding many features.

It now runs fully in browser via WebAssembly, and there are new native ports for Apple platforms (macOS, iPhone, iPad as well as tvOS for Apple TV. Note that I do not have the resources to actually publish these on the App Store at this time).

The JuggleSaver 3D engine is still the base: It has been ported to OpenGL ES to allow it to run via WebAssembly as well as on the Apple platforms. Other native ports can be built on this.

The JuggleSaver engine is the most flexible one as it is fully 3D, so new features will mostly be built on top of this engine, but JuggleMaster support will stay. The pattern library is now one combined library with the engine switching dynamically.

Major enhancements