view show/dance2016/effect.n3 @ 1414:c35ec37c3c6e

sequencer reloads effecteval on the fly. plus some /stats support. Ignore-this: 964f4c9007de6532457e0a507d2106f1
author Drew Perttula <drewp@bigasterisk.com>
date Fri, 10 Jun 2016 06:56:34 +0000
parents 361dbf72618f
children 6cc84beb84a4
line wrap: on
line source

@prefix : <http://light9.bigasterisk.com/> .
@prefix effect: <http://light9.bigasterisk.com/effect/> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix dev: <http://light9.bigasterisk.com/device/> .


effect:RedStrip a :Effect;
  rdfs:label "red";
  :publishAttr :strength;
  :deviceSetting :ds1, :ds2 .
:ds1 :device dev:colorStrip; :attr :red; :value "strength" .
:ds2 :device dev:moving1; :attr :red; :value "strength" .


effect:BlueStrip a :Effect;
  rdfs:label "blue";
  :publishAttr :strength;
  :deviceSetting :ds3 .
:ds3 :device dev:colorStrip; :attr :blue; :value "strength" .

:strength rdfs:label "strength" .

effect:usa a :Effect;
  rdfs:label "USA";
  :publishAttr :strength;
  :code "chase()";
  :devices dev:colorStrip, dev:moving1;
  :fadeShape :fadeCurve1;
  :chaseTempo 120;
  :chaseOffset 0;
  :palette "#ff0000", "#ffffff", "#0000ff" .

:fadeCurve1 a :Curve;
  :point :fc1p0, :fc1p1, :fc1p2, :fc1p3 .
:fc1p0 :time 0.00; :value 0 .
:fc1p1 :time 0.02; :value 1 .
:fc1p2 :time 0.10; :value 1 .
:fc1p3 :time 0.15; :value 0 .


effect:Strobe a :Effect;  rdfs:label "strobe";
  :publishAttr :strength, :rate, :offset, :duty .


effect:WorkLight a :Effect;
  rdfs:label "work light";
  :publishAttr :strength;
  :deviceSetting :ds4 .
:ds4 :device dev:colorStrip; :attr :color; :value "#00ff00" .

effect:Curtain a :Effect; rdfs:label "curtain"; :publishAttr :strength;
  :deviceSetting :ds5 .
:ds5 :device dev:colorStrip; :attr :color; :value "#300030" .

:live :controls effect:WorkLight, effect:Curtain .
effect:WorkLight :group "main"; :order 1 .
effect:Curtain :group "main"; :order 2 .