Light dance system for 2020 NTUEE night
- Programs for hardward control
- Light dance control center
- Online sheet light editor
- Sheet light simulator
Control dancers via a Wi-Fi router.
- if
boards_config.json
exists, delete it. - build server
$ npm i
$ npm run build
the program will automatically generate new boards_config.json
3. on RPi, (make sure we use new generated boards_config.json
)
$ cd client/clientApp
$ sudo node client.js
- on ESP8266, just open it
- on your laptop(server), go to http://localhost:8080
- toggle control+alt/option+c to show the CommandCenter panel
- make sure edit board configuration is enabled
- at the right side of the panel is the boards not registered
- there you should see your rpi, click add board
- after adjusting boards' id pattern , remember to click Save
- disable edit board configuration
- you can now send command to your boards!!
$ npm start
- on your laptop(server), go to http://localhost:8080
- the rest is the same(RPi, ESP8266)
Each dancer is a client device. Receive commands from the server.
usage for develop front-end:
$ npm run editor:dev
usage for editor
- install node
- install packages
$ npm install
- install webpack globally
npm install webpack -g
- build
usage for develop front-end:
npm run editor:dev
- run
npm start
# editor will run at localhost:8080
adding new LED pictures
- ADD the picture to asset/LED/LED_CHEST or LED_L_SHOE or LED_R_SHOE
- Go data/load.json, add new LED name to valid "Texture":
"Texture": {
"LED_CHEST": ["bl_chest", "chest1", "chest2"],
"LED_R_SHOE": ["bl_shoe", "r_shoe1", "r_shoe2"],
"LED_L_SHOE": ["bl_shoe", "l_shoe1", "l_shoe2"]
}
// for example
usage for editor
- install node
- install packages
$ npm install
- install webpack globally
npm install webpack -g
- build
npm run editor:dev
- run
npm start
# editor will run at localhost:8080
adding new LED pictures
- ADD the picture to asset/LED/LED_CHEST or LED_L_SHOE or LED_R_SHOE
- Go data/load.json, add new LED name to valid "Texture":
"Texture": {
"LED_CHEST": ["bl_chest", "chest1", "chest2"],
"LED_R_SHOE": ["bl_shoe", "r_shoe1", "r_shoe2"],
"LED_L_SHOE": ["bl_shoe", "l_shoe1", "l_shoe2"]
}
// for example
NTUEE_light_dance
├── accessories
├── asset
│ ├── BlackPart
│ ├── LED
│ └── Part
│
├── client
│ ├── Arduino
│ ├── clientApp
│ └── clientSocket
│
├── data
├── editor
│ ├── css
│ ├── html
│ └── js
│
├── hardware
├── music
├── server
└── test
For 道具
Client program including RPi and Arduino
Online dancing parameter editor and simulator
Hardware design
Controllers, circuits etc.
Server program for dancers control
For Testing Everything