-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(jsconfbp): Added all lights for the small stage @ akvarium
- Loading branch information
1 parent
e099d31
commit e87142c
Showing
10 changed files
with
281 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import DmxDevice from './DmxDevice.js' | ||
import RgbParam from './param/RgbParam.js' | ||
import Color from 'fivetwelve/lib/util/Color' | ||
|
||
export default class BasicColorCMY extends DmxDevice { | ||
constructor(options) { | ||
super(Object.assign({}, options, { | ||
params: { color: new RgbParam([1, 2, 3], Color.CMY) } | ||
})) | ||
|
||
this.layout = {} | ||
this.layout.width = 1 | ||
this.layout.height = 1 | ||
|
||
this.channels = 3 | ||
this.weight = 1.2 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import RangeParam from 'fivetwelve/lib/param/RangeParam.js' | ||
|
||
import DmxDevice from './DmxDevice.js' | ||
|
||
export default class BasicDimmerStrobe extends DmxDevice { | ||
constructor(options) { | ||
super(Object.assign({}, options, { | ||
params: { | ||
dimmer: new RangeParam(1, { min: 0, max: 255 }), | ||
strobe: new RangeParam(1, { min: 0, max: 255 }) | ||
} | ||
})) | ||
|
||
this.layout = {} | ||
this.layout.width = 1 | ||
this.layout.height = 1 | ||
|
||
this.channels = 2 | ||
this.weight = 1.2 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
|
||
import RgbParam from './param/RgbParam.js' | ||
import PanTiltParam from './param/PanTiltParam' | ||
import RangeParam from 'fivetwelve/lib/param/RangeParam.js' | ||
import HiResParam from 'fivetwelve/lib/param/HiResParam.js' | ||
|
||
|
||
import DmxDevice from './DmxDevice.js' | ||
|
||
export default class CameoHydrabeam100RGBW extends DmxDevice { | ||
constructor(options) { | ||
super(Object.assign(options, { | ||
params: { | ||
panTilt: new PanTiltParam( | ||
new HiResParam([1, 2], { min: 0, max: 180 }), | ||
new HiResParam([3, 4], { min: 0, max: 120 }) | ||
), | ||
|
||
speed: new RangeParam(5, { | ||
min: 0, | ||
max: 255 | ||
}), | ||
dimmer: new RangeParam(6, { | ||
min: 0, | ||
max: 255 | ||
}), | ||
strobe: new RangeParam(7, { | ||
min: 0, | ||
max: 255 | ||
}), | ||
// 8: color control, default 0 | ||
// 9: control, default 0 | ||
// 10: sound sentivity | ||
|
||
color: new RgbParam([11, 12, 13]), | ||
|
||
white: new RangeParam(14, { | ||
min: 0, | ||
max: 255 | ||
}) | ||
|
||
// 13: Device settings | ||
// 14: Color Ring Macro | ||
// 15: Color Ring Maacro Speed | ||
} | ||
})) | ||
|
||
this.channels = 14 | ||
this.weight = 5.1 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
import RgbParam from './param/RgbParam.js' | ||
import RangeParam from 'fivetwelve/lib/param/RangeParam.js' | ||
import HiResParam from './param/HiResParam.js' | ||
import PanTiltParam from './param/PanTiltParam.js' | ||
|
||
import DmxDevice from './DmxDevice.js' | ||
|
||
export default class CameoMovoBeam100 extends DmxDevice { | ||
constructor(options) { | ||
super(Object.assign(options, { | ||
params: { | ||
panTilt: new PanTiltParam( | ||
new HiResParam([1, 2], { min: 0, max: 180 }), | ||
new HiResParam([4, 5], { min: 0, max: 120 }) | ||
), | ||
|
||
panEndless: new RangeParam(3, { | ||
min: 0, | ||
max: 255 | ||
}), | ||
tiltEndless: new RangeParam(6, { | ||
min: 0, | ||
max: 255 | ||
}), | ||
|
||
dimmer: new RangeParam(7, { | ||
min: 0, | ||
max: 255 | ||
}), | ||
strobe: new RangeParam(8, { | ||
min: 0, | ||
max: 255 | ||
}), | ||
|
||
color: new RgbParam([9, 10, 11]), | ||
|
||
white: new RangeParam(12, { | ||
min: 0, | ||
max: 255 | ||
}) | ||
|
||
// 13: Device settings | ||
// 14: Color Ring Macro | ||
// 15: Color Ring Maacro Speed | ||
} | ||
})) | ||
|
||
this.channels = 15 | ||
this.weight = 5.1 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
import RgbParam from './param/RgbParam.js' | ||
import RangeParam from 'fivetwelve/lib/param/RangeParam.js' | ||
import HiResParam from './param/HiResParam.js' | ||
import PanTiltParam from './param/PanTiltParam.js' | ||
|
||
import DmxDevice from './DmxDevice.js' | ||
|
||
export default class CameoMovoBeamZ100 extends DmxDevice { | ||
constructor(options) { | ||
super(Object.assign(options, { | ||
params: { | ||
panTilt: new PanTiltParam( | ||
new HiResParam([1, 2], { min: 0, max: 180 }), | ||
new HiResParam([4, 5], { min: 0, max: 120 }) | ||
), | ||
|
||
panEndless: new RangeParam(3, { | ||
min: 0, | ||
max: 255 | ||
}), | ||
tiltEndless: new RangeParam(6, { | ||
min: 0, | ||
max: 255 | ||
}), | ||
|
||
dimmer: new RangeParam(7, { | ||
min: 0, | ||
max: 255 | ||
}), | ||
strobe: new RangeParam(8, { | ||
min: 0, | ||
max: 255 | ||
}), | ||
|
||
color: new RgbParam([9, 10, 11]), | ||
|
||
white: new RangeParam(12, { | ||
min: 0, | ||
max: 255 | ||
}), | ||
|
||
zoom: new RangeParam(13, { | ||
min: 0, | ||
max: 255 | ||
}) | ||
// 14: Device settings | ||
// 15: Color Ring Macro | ||
// 16: Color Ring Maacro Speed | ||
} | ||
})) | ||
|
||
this.channels = 16 | ||
this.weight = 5.1 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
|
||
import RgbParam from './param/RgbParam.js' | ||
import RangeParam from 'fivetwelve/lib/param/RangeParam.js' | ||
|
||
import DmxDevice from './DmxDevice.js' | ||
|
||
export default class InvolightLedPar170 extends DmxDevice { | ||
constructor(options) { | ||
super(Object.assign({}, options, { | ||
params: { | ||
dimmer: new RangeParam(1, { min: 0, max: 255 }), | ||
color: new RgbParam([2, 3, 4]) | ||
} | ||
})) | ||
|
||
this.layout = {} | ||
this.layout.width = 1 | ||
this.layout.height = 1 | ||
|
||
this.channels = 4 | ||
this.weight = 1.2 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
|
||
import RgbParam from './param/RgbParam.js' | ||
import RangeParam from 'fivetwelve/lib/param/RangeParam.js' | ||
|
||
import DmxDevice from './DmxDevice.js' | ||
|
||
export default class InvolightLedPar64 extends DmxDevice { | ||
constructor(options) { | ||
super(Object.assign({}, options, { | ||
params: { | ||
dimmer: new RangeParam(1, { min: 0, max: 255 }), | ||
color: new RgbParam([2, 3, 4]), | ||
white: new RangeParam(4, { min: 0, max: 255 }) | ||
} | ||
})) | ||
|
||
this.layout = {} | ||
this.layout.width = 1 | ||
this.layout.height = 1 | ||
|
||
this.channels = 5 | ||
this.weight = 1.2 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|
||
import RgbParam from './param/RgbParam.js' | ||
import RangeParam from 'fivetwelve/lib/param/RangeParam.js' | ||
|
||
import DmxDevice from './DmxDevice.js' | ||
|
||
export default class InvolightLedParSlim extends DmxDevice { | ||
constructor(options) { | ||
super(Object.assign({}, options, { | ||
params: { | ||
color: new RgbParam([1, 2, 3]), | ||
white: new RangeParam(4, { min: 0, max: 255 }), | ||
dimmer: new RangeParam(5, { min: 0, max: 255 }), | ||
strobe: new RangeParam(6, { min: 0, max: 255 }) | ||
// control: new RangeParam(7, { min: 0, max: 255 }), | ||
} | ||
})) | ||
|
||
this.layout = {} | ||
this.layout.width = 1 | ||
this.layout.height = 1 | ||
|
||
this.channels = 7 | ||
this.weight = 1.2 | ||
} | ||
} |