This project is a simple juggling simulator built with JavaScript and HTML Canvas. It includes a tutorial that guides users through various juggling techniques and patterns.
- Interactive Tutorial: Follow prompts to learn juggling patterns like the cascade, snake, shower, columns, and circular patterns.
- Customizable Throws: Experiment with different key presses to vary throw height, hand usage, and throw position.
- Realistic Physics: Simulates basic gravity and hand alternation to emulate the physics of juggling.
- Modern web browser with JavaScript support.
- Clone this repository:
git clone https://github.com/encse/juggling.git
- Open
index.htmlin a web browser to start the simulation.
- Basic Throws:
- Press
Sfor a left-hand throw andDfor a right-hand throw in the cascade pattern.
- Press
- Vary Height: Use
Q,W,E, andRfor higher throws. - Outer Throws:
AandFproduce wider throws for left and right hands, respectively. - Quick Throws:
XandCcreate low, fast throws for dynamic patterns. - CapsLock Mode: Turns on vertical mode, enabling one-handed juggling styles without holding Shift.
The tutorial introduces basic and advanced juggling techniques. You’ll follow prompts to learn and practice:
- The cascade (classic alternating hand throw)
- The shower (circular motion)
- One-handed patterns
- Columns and more complex formations with hand-specific keys.
Feel free to fork this repository, make improvements, and submit a pull request. Contributions to improve the tutorial, physics, or add new patterns are welcome!
Circus Vectors by Vecteezy Face Vectors by Vecteezy Hand Vectors by Vecteezy