Turn any matplotlib line chart into a line skateboarding game.
Project description
SK8plotlib
Turn any matplotlib line chart into a line skateboarding game.
[!CAUTION] SK8plotlib is in pre-alpha. Expect bugs. Software provided without warranty, yada yada.
Installation
Install from PyPI with:
pip install sk8plotlib
Use
Turn any matplotlib line chart into a skatepark with:
import sk8plotlib.sk8plot as sk8
# ... create a matplotlib figure
sk8(fig)
Alternatively, you can load example maps by running SK8plotlib on the command line, such as by doing:
python -m sk8plotlib
Controls
While on a surface, you can use the left/right arrow keys to go left or right.
While in the air, you can use up/down to rotate your skateboard.
Roadmap
Planned features before v0.1:
Automatic detection of lines in plotBasic physics simulation (single accelerating point)Basic collision detection (skateboard only)Skateboard rotation on surfacesUser control inputSmooth cameraAutomatic framerate & physics timestep scaling- Automatic map scaling
- Auto-initialize in correct location
Planned future features:
- Improved player character
Improved collisions(had to be done sooner than planned...)- Improve rotation snapping to be less aggressive
- Improved graphics
- Music
- Support for log plots
- Scoring system?
Project details
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 sk8plotlib-0.0.5.tar.gz.
File metadata
- Download URL: sk8plotlib-0.0.5.tar.gz
- Upload date:
- Size: 9.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b7fcce79608de7236c384e9da69fe090f80cbe7748b62e1d0de3757b3fe80e07
|
|
| MD5 |
14a9d4311431f63ae8b53e3485751fe7
|
|
| BLAKE2b-256 |
2825a1a9e2639d6ff0be5694839b1d135f26acfa9f2bc2db7edda65ecad47131
|
Provenance
The following attestation bundles were made for sk8plotlib-0.0.5.tar.gz:
Publisher:
python-publish.yml on emilyhunt/SK8plotlib
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sk8plotlib-0.0.5.tar.gz -
Subject digest:
b7fcce79608de7236c384e9da69fe090f80cbe7748b62e1d0de3757b3fe80e07 - Sigstore transparency entry: 164560186
- Sigstore integration time:
-
Permalink:
emilyhunt/SK8plotlib@352e992f750d17ffa510af1abd127cea6cfb595a -
Branch / Tag:
refs/tags/v0.0.5 - Owner: https://github.com/emilyhunt
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@352e992f750d17ffa510af1abd127cea6cfb595a -
Trigger Event:
release
-
Statement type:
File details
Details for the file SK8plotlib-0.0.5-py3-none-any.whl.
File metadata
- Download URL: SK8plotlib-0.0.5-py3-none-any.whl
- Upload date:
- Size: 11.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
409659da6912714da9e8257ffd5ade2b823bd9577145491dec9110b650cb0695
|
|
| MD5 |
a95d073e023029476b2e60e7ea60d2e9
|
|
| BLAKE2b-256 |
cfd0d2e865f3dd891dd87abb7ac4813751eb02e9153cf130789f8df242b2d105
|
Provenance
The following attestation bundles were made for SK8plotlib-0.0.5-py3-none-any.whl:
Publisher:
python-publish.yml on emilyhunt/SK8plotlib
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sk8plotlib-0.0.5-py3-none-any.whl -
Subject digest:
409659da6912714da9e8257ffd5ade2b823bd9577145491dec9110b650cb0695 - Sigstore transparency entry: 164560188
- Sigstore integration time:
-
Permalink:
emilyhunt/SK8plotlib@352e992f750d17ffa510af1abd127cea6cfb595a -
Branch / Tag:
refs/tags/v0.0.5 - Owner: https://github.com/emilyhunt
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@352e992f750d17ffa510af1abd127cea6cfb595a -
Trigger Event:
release
-
Statement type: