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?

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sk8plotlib-0.0.5.tar.gz (9.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

SK8plotlib-0.0.5-py3-none-any.whl (11.9 kB view details)

Uploaded Python 3

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

Hashes for sk8plotlib-0.0.5.tar.gz
Algorithm Hash digest
SHA256 b7fcce79608de7236c384e9da69fe090f80cbe7748b62e1d0de3757b3fe80e07
MD5 14a9d4311431f63ae8b53e3485751fe7
BLAKE2b-256 2825a1a9e2639d6ff0be5694839b1d135f26acfa9f2bc2db7edda65ecad47131

See more details on using hashes here.

Provenance

The following attestation bundles were made for sk8plotlib-0.0.5.tar.gz:

Publisher: python-publish.yml on emilyhunt/SK8plotlib

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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

Hashes for SK8plotlib-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 409659da6912714da9e8257ffd5ade2b823bd9577145491dec9110b650cb0695
MD5 a95d073e023029476b2e60e7ea60d2e9
BLAKE2b-256 cfd0d2e865f3dd891dd87abb7ac4813751eb02e9153cf130789f8df242b2d105

See more details on using hashes here.

Provenance

The following attestation bundles were made for SK8plotlib-0.0.5-py3-none-any.whl:

Publisher: python-publish.yml on emilyhunt/SK8plotlib

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.0.5 This release

2 files

0.0.4

2 files

0.0.2

2 files

0.0.1

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page