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?
Metadata
Release files for SK8plotlib 0.0.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sk8plotlib-0.0.5.tar.gz | 9.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| SK8plotlib-0.0.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.1 kB
Release files / sk8plotlib-0.0.5.tar.gz
| Download URL | sk8plotlib-0.0.5.tar.gz |
|---|---|
| Size | 9.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b7fcce79608de7236c384e9da69fe090f80cbe7748b62e1d0de3757b3fe80e07
|
|
BLAKE2b-256 checksum How to use checksums |
2825a1a9e2639d6ff0be5694839b1d135f26acfa9f2bc2db7edda65ecad47131
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 22, 2025.
Transparency logRelease files / SK8plotlib-0.0.5-py3-none-any.whl
| Download URL | SK8plotlib-0.0.5-py3-none-any.whl |
|---|---|
| Size | 11.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
409659da6912714da9e8257ffd5ade2b823bd9577145491dec9110b650cb0695
|
|
BLAKE2b-256 checksum How to use checksums |
cfd0d2e865f3dd891dd87abb7ac4813751eb02e9153cf130789f8df242b2d105
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.0.1 CPython/3.12.8
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Jan 22, 2025.
Transparency log