Skip to main content

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 plot
  • Basic physics simulation (single accelerating point)
  • Basic collision detection (skateboard only)
  • Skateboard rotation on surfaces
  • User control input
  • Smooth camera
  • Automatic 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)

Source distribution for SK8plotlib 0.0.5
File Size Uploaded
sk8plotlib-0.0.5.tar.gz 9.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for SK8plotlib 0.0.5
File Interpreter ABI Platform
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 log

Release 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

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 release files

0.0.4

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page