diff --git a/readme.md b/readme.md index 4654542..1162a41 100644 --- a/readme.md +++ b/readme.md @@ -6,10 +6,10 @@ This is a clone of [dmx-web](https://github.com/node-dmx/dmx-web) edited for liv On the computer that has DMX: - git clone https://github.com/micuat/dmx-flok.git # Clone the repository - cd dmx-flok - npm install - node dmx-web.js -c dmx-web.json + git clone https://github.com/micuat/dmx-flok.git # Clone the repository + cd dmx-flok + npm install + node dmx-web.js -c dmx-web.json `public.js` has to be hosted online. For example, you can use https://light-academy.glitch.me/script.js @@ -17,9 +17,9 @@ open a flok session on https://flok.clic.cf/. The session must be opened on the load the script - loadScript("https://light-academy.glitch.me/script.js") - lights(1,1,1,1) - light0([0,1],()=>Math.sin(time*3),1) + loadScript("https://light-academy.glitch.me/script.js") + lights(1,1,1,1) + light0([0,1],()=>Math.sin(time*3),1) ## API @@ -29,9 +29,9 @@ load the script currently index is hardcoded (5 lights) and only RGB lights are supported. They have to be configured on `dmx-web.json` and `dmx-web.js` according to your setup. -original document: +--- -# node-dmx +# original document: node-dmx Webinterface and HTTP API using [node-dmx](https://github.com/node-dmx/dmx)