Skip to content

helbling/jif

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Juggling Interchange Format (JIF)

JIF is a file format for interchanging information about a juggling pattern between different software components.

The format is not specified yet. This repository will be used to define and host its specification.

Goals

JIF should be able to describe as many juggling patterns as possible.

It should hold all necessary information for at least the following applications:

  • Drawing causal and ladder diagrams
  • Animation

As there are many other possible usages the format should be capable to hold information the specification does not cover yet. Applications that operate on JIF files should expect the possibility of such additional information and pass it on whenever possible.

Most fields of the format should be optional. Programs with JIF input should define reasonable defaults for missing information. These defaults might differ depending on the application. For example one application might be written passing whereas another one targets solo juggling. This allows for a software pipeline of components that define a juggling pattern in more and more detail from some high-level description down to a physical animation.

To speedup standardization the focus should stay on the most important applications. Other applications can follow, when there is high interest. The bug tracker of this repository should be used to discuss extensions of the standard.

JIF is specifically designed to help computer programs to understand details of juggling patterns. It should be easy to write programs that generate, enrich or modify a pattern or display diagrams and animations of a given one. In contrast to different high-level descriptions like siteswap (and its extensions) it should not be as short as possible and it is not thought to be written manually. Nevertheless it should be readable and understandable by humans.

First steps

The following aspects should be standardized first:

  • metadata like:
    • title
    • number of objects
    • number of hands
    • number of jugglers
    • period (if repeatable)
    • description in some high-level language
    • comments
  • logical throws as in what we consider a throw in causal diagrams:
    • throw time
    • time until next throw
    • source and destination hand
    • label
  • physical throws for animation
    • throw time
    • catch time
    • object reference
    • properties like:
    • type of throw
    • number of spins
    • spin direction, axis
    • throw/catch positions
  • manipulation/movement during dwell
  • mapping hand reference to juggler and side
  • juggler positions and movements
  • hand movements while not carrying an object
  • movements of other body parts
  • length of a time unit in seconds
  • object details like:
    • type of prop
    • color / texture

Decisions

The format will be built on JSON.

Wherever we have references in the standard (i.e. objects, hands or jugglers), we will use integers starting with 0.

Time should be represented as a floating point number in order to avoid limits of integer timings.

Further considerations

  • we might even want to generate the hand concept much more to a object manipulating entity which might as well be a foot, a floor, wall, table and so on
  • repetition might be considered a feature. Instead of seeing all patterns as endlessly repeating, we could mark repetitions explicitly and even have the possibility of repeating subsequences. This could be more appropriate to describe things like a full juggling act, or demonstrating how to get in and out of a siteswap.
  • we might want to have some kind of object relabeling mechanism to shorten the period / file length as it might take quite long until all objects are in their starting positions again at the start of an iteration
  • it should be possible to represent moving take-out patterns, they seem to be very popular nowadays

Existing notations that might be of use

Mailing list

There is a google groups mailing list to discuss development here: https://groups.google.com/group/juggling-interchange-format

Thanks

I would like to thank everyone who helped me with this project. Especially:

  • Wolfgang Westerboer, Author of the famous juggling animation programm JoePass
  • Adrian Goldwaser
  • Lukas Bonauer

About

Juggling Interchange Format

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published