Skip to content

emilyhunt/SK8plotlib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 map scaling
  • Auto-initialize in correct location

Planned future features:

  • Improved player character
  • Improved collisions (had to be done sooner than planned...)
  • Improved graphics
  • Music
  • Support for log plots
  • Scoring system?