A simple library to generate trick combinations and moves for wizard style inline skating.
Project description
wzrdbrain
wzrdbrain is the engine behind applications that generate random trick combinations for wizard skating. It helps skaters discover new and creative sequences of moves.
If you're a wizard skater, the best way to use this project is through the Rocker'd Magic Moves app!
The app is powered by this library and works on your phone, even offline.
Logic makes magic.
Contributing
We welcome contributions! wzrdbrain is an open-source project, and we encourage the community to help in many ways.
Want to add a new trick?
This is the most common way for skaters to contribute! If you know a trick that's missing from the generator, you can add it to our list.
To get started, please read our contributing guide which will walk you through the process.
Other ways to contribute
- Report bugs and suggest features
- Improve documentation
- Submit code improvements for the Python or JavaScript libraries
For developers
This library is available in both Python and JavaScript.
Python usage
Install the package from PyPI:
pip install wzrdbrain
Use generate_combo to get a list of trick dictionaries.
from wzrdbrain import generate_combo
# Generate a combo of 3 tricks and get their names
combo = generate_combo(3)
trick_names = [trick['name'] for trick in combo]
print(trick_names)
# Example output: ['front open gazelle', 'fakie 360', 'back open lion']
JavaScript usage
You can use the ES6 module directly from the JSDelivr CDN.
import { generateCombo } from 'https://cdn.jsdelivr.net/gh/nazroll/wzrdbrain/src/wzrdbrain/wzrdbrain.min.js';
// Generate a combo of 3 tricks and get their names
const combo = generateCombo(3);
const trickNames = combo.map(trick => trick.name);
console.log(trickNames);
For more examples, see the usage documentation.
Credits
Many thanks to the wizard skating community for their valuable feedback and support. Special thanks to:
- Billy Arlew: for being a reliable source of inspiration and as a domain knowledge expert on the wizard skating tricks dictionary.
- Eelco Soesman: for being a supportive Slightly Rockerd crew and early tester.
- Bas Bavinck: for being the beacon of wizardry with his book and supporting this project.
License
This project is licensed under the Apache-2.0 Open Source Software License. See the LICENSE file for details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file wzrdbrain-0.2.2.tar.gz.
File metadata
- Download URL: wzrdbrain-0.2.2.tar.gz
- Upload date:
- Size: 10.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0636a3c60c88736d7d97ecf8d79c2651459165caa39d5970ab60a88951264da2
|
|
| MD5 |
1f91b61a5f65b587e2ea5060c3a55b40
|
|
| BLAKE2b-256 |
5c2e6842df1cf0cc4e4e38bac29c0eca544d6e6e0d8a657af582fd1c3e728a53
|
Provenance
The following attestation bundles were made for wzrdbrain-0.2.2.tar.gz:
Publisher:
release.yml on nazroll/wzrdbrain
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wzrdbrain-0.2.2.tar.gz -
Subject digest:
0636a3c60c88736d7d97ecf8d79c2651459165caa39d5970ab60a88951264da2 - Sigstore transparency entry: 1000917871
- Sigstore integration time:
-
Permalink:
nazroll/wzrdbrain@87c3049b41bb296743113ba4d7a731a011fe31d4 -
Branch / Tag:
refs/tags/v0.2.2 - Owner: https://github.com/nazroll
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@87c3049b41bb296743113ba4d7a731a011fe31d4 -
Trigger Event:
release
-
Statement type:
File details
Details for the file wzrdbrain-0.2.2-py3-none-any.whl.
File metadata
- Download URL: wzrdbrain-0.2.2-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4c9f6431bfea453e44f8fb09f57104077b750f7d095bdac52e6ded9129d5b226
|
|
| MD5 |
9ddc132f20863770b4a02a6e4efb22dc
|
|
| BLAKE2b-256 |
cc65604952fbe5f13af33f29c28876bd5542c732a69f32bb6e7d010db4e6218c
|
Provenance
The following attestation bundles were made for wzrdbrain-0.2.2-py3-none-any.whl:
Publisher:
release.yml on nazroll/wzrdbrain
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
wzrdbrain-0.2.2-py3-none-any.whl -
Subject digest:
4c9f6431bfea453e44f8fb09f57104077b750f7d095bdac52e6ded9129d5b226 - Sigstore transparency entry: 1000918114
- Sigstore integration time:
-
Permalink:
nazroll/wzrdbrain@87c3049b41bb296743113ba4d7a731a011fe31d4 -
Branch / Tag:
refs/tags/v0.2.2 - Owner: https://github.com/nazroll
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@87c3049b41bb296743113ba4d7a731a011fe31d4 -
Trigger Event:
release
-
Statement type: