Skip to content

Commit

Permalink
feat(jsconfbp): Added all lights for the small stage @ akvarium
Browse files Browse the repository at this point in the history
  • Loading branch information
TimPietrusky committed Sep 25, 2019
1 parent e099d31 commit e87142c
Show file tree
Hide file tree
Showing 10 changed files with 281 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/constants/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,9 @@ export const FIXTURE_TYPES = ['EuroliteTMH8', 'FunGenerationSeParQuadLedRgbUv',
'TourHazerII', 'SgmXC5', 'BasicDimmer', 'LTHLedParCob250w', 'AdjSweeperBeamQuadLed',
'RobeColorWash575EAt1_4', 'ViperVl3000Spot', 'MacQuantumWash', 'MacAura', 'Rollapix100',
'RobeRobin300LEDWash', 'BasicRGBW', 'BasicRGBDimmer', 'OppskPar', 'SolarStar2', 'BasicColorDimmableTransform',
'StairvilleWildWashPro648Rgb', 'DunarniaLedPar', 'LaserworldCs1000RgbMk2'
'StairvilleWildWashPro648Rgb', 'DunarniaLedPar', 'LaserworldCs1000RgbMk2', 'BasicColorCMY',
'InvolightLedParSlim', 'InvolightLedPar64', 'BasicDimmerStrobe', 'InvolightLedPar170',
'CameoMovoBeamZ100', 'CameoMovoBeam100', 'CameoHydrabeam100RGBW'
]

export const FIXTURE_PROPERTIES = ['color', 'dimmer', 'strobe', 'white',
Expand Down
9 changes: 9 additions & 0 deletions src/utils/dmx-fixtures.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,12 @@ export { default as BasicColorDimmableTransform } from './dmx/BasicColorDimmable
export { default as StairvilleWildWashPro648Rgb } from './dmx/StairvilleWildWashPro648Rgb.js'
export { default as DunarniaLedPar } from './dmx/DunarniaLedPar.js'
export { default as LaserworldCs1000RgbMk2 } from './dmx/LaserworldCs1000RgbMk2.js'
export { default as BasicColorCMY } from './dmx/BasicColorCMY.js'
export { default as InvolightLedParSlim } from './dmx/InvolightLedParSlim.js'
export { default as InvolightLedPar64 } from './dmx/InvolightLedPar64.js'
export { default as BasicDimmerStrobe } from './dmx/BasicDimmerStrobe.js'
export { default as InvolightLedPar170 } from './dmx/InvolightLedPar170.js'
export { default as CameoMovoBeamZ100 } from './dmx/CameoMovoBeamZ100.js'
export { default as CameoMovoBeam100 } from './dmx/CameoMovoBeam100.js'
export { default as CameoHydrabeam100RGBW } from './dmx/CameoHydrabeam100RGBW.js'

18 changes: 18 additions & 0 deletions src/utils/dmx/BasicColorCMY.js
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
}
}
21 changes: 21 additions & 0 deletions src/utils/dmx/BasicDimmerStrobe.js
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
}
}
51 changes: 51 additions & 0 deletions src/utils/dmx/CameoHydrabeam100RGBW.js
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
}
}
51 changes: 51 additions & 0 deletions src/utils/dmx/CameoMovoBeam100.js
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
}
}
55 changes: 55 additions & 0 deletions src/utils/dmx/CameoMovoBeamZ100.js
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
}
}
23 changes: 23 additions & 0 deletions src/utils/dmx/InvolightLedPar170.js
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
}
}
24 changes: 24 additions & 0 deletions src/utils/dmx/InvolightLedPar64.js
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
}
}
26 changes: 26 additions & 0 deletions src/utils/dmx/InvolightLedParSlim.js
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
}
}

0 comments on commit e87142c

Please sign in to comment.