Files @ c677bf37a1b4
Branch filter:

Location: light9/show/dance2014/effectClass.n3

Drew Perttula
effect list has button to add to current song
Ignore-this: 336da00ee802890c5b75af5b0d2ab255
@prefix : <http://light9.bigasterisk.com/> .
@prefix effect: <http://light9.bigasterisk.com/effect/> .
@prefix rdf: <http://www.w3.org/1999/02/22-rdf-syntax-ns#> .
@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
@prefix xml: <http://www.w3.org/XML/1998/namespace> .
@prefix xsd: <http://www.w3.org/2001/XMLSchema#> .


# when these are inserted, a curve called 'env' will be added to this
# code, so multiply by that. Also if you mention 'music' anywhere, an
# output 'music' will be set to the current song.


effect:cycFlash a :EffectClass;
  rdfs:label "cycFlash";
  :code "out = <http://light9.bigasterisk.com/show/dance2013/sub/cyc> * nsin(t*2)" .

  
effect:cycToMusic a :EffectClass; rdfs:label "cyc to music";
:code "out = <http://light9.bigasterisk.com/show/dance2013/sub/cyc> * music * env" .

effect:blacklight a :EffectClass;
  rdfs:label "blacklight";
  :code 
    "env = <http://light9.bigasterisk.com/show/dance2014/song1/curve-1>",
    "out = [env * p1, env * p2, env * p3, env * p4]",
    "p1 = env * <http://light9.bigasterisk.com/show/dance2013/sub/blue> * .5",
    "p2 = Strip.solid('R', (0,0,1))",
    "p3 = Strip.solid('L', (0,0,1))",
    "p4 = Blacklight(1)" 
    .

    
effect:whiteLed a :EffectClass;
  rdfs:label "whiteLed";
  :code "out = Strip.solid('LR', (1,1,1))" .