Skip to content

Tadaboody/ddr

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Camera Dance Mat

Desperately want to play Dance Dance Revolution (DDR) But don't have a mat?

This project attempts to use a camera to detect your movments and translate it to the arrow keys, creating an invisible dance mat

Outline

The camera will be mounted directly above the player.

  1. Detect a quadrilateral object on the floor (like an A4 page), this will be the up arrow.
  2. Duplicate the square to all directions to create the invisible mat.
  3. Start rolling, detect any movment.
  4. If the movement is colliding with a square, register a tap and press the matching direction in the arrow keys.

Running

This project uses poetry for packaging. Run

pip install poetry
poetry install
poetry run python src/ddr.py

About

Create an invisible dance mat

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages