An open API service indexing awesome lists of open source software.

https://github.com/jrieke/lightshapes

Party lightshow where animations are projected on cardboard shapes
https://github.com/jrieke/lightshapes

Last synced: 3 months ago
JSON representation

Party lightshow where animations are projected on cardboard shapes

Awesome Lists containing this project

README

          

# lightshapes
This is a fun little side project that I did for a party. It uses a projector to project animations on cardboard shapes like this (there are a couple more effects):

![](images/party.gif)

And this is the screen that is shown on the projector:

![](images/screenshot.png)

## How to

1. Cut out some shapes (polygons) from white cardboard (or glue white paper onto darker material), hang them up somewhere.
2. Align the projector so that all shapes are covered by its image.
3. Run `python find-polygons.py`, a window will show up. Move this window to your projector and make it fullscreen (you can exit any time with ESC). Use the cursor to find the edge points of your cardboard shapes (arrow keys to move the cursor, space to set edge point, return to go to next polygon). Close the window, the polygons should now be saved in `polygons.json`.
4. Run `python animate.py`, another window with the animations will show up. Again, move this window to your projector and make it fullscreen. The animations should now be aligned with the polygons you selected before, everything else should be black. Some of the animations are controlled via music, so make sure your laptop mic is not covered up.

## Requirements

Python 3, pygame, sounddevice, numpy, matplotlib, shapely