Files @ 499d5c6b153b
Branch filter:

Location: light9/show/dance2014/song11.n3

Drew Perttula
rewrite /live to edit effects in-graph
Ignore-this: ea45128f7bae6d17fda122991105eed
@prefix ns1: <http://light9.bigasterisk.com/> .
@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#> .

<http://light9.bigasterisk.com/show/dance2014/song11> ns1:curve <http://light9.bigasterisk.com/show/dance2014/song11/curve-1>,
        <http://light9.bigasterisk.com/show/dance2014/song11/curve-2>,
        <http://light9.bigasterisk.com/show/dance2014/song11/curve-3>,
        <http://light9.bigasterisk.com/show/dance2014/song11/curve-4>,
        <http://light9.bigasterisk.com/show/dance2014/song11/curve-5>,
        <http://light9.bigasterisk.com/show/dance2014/song11/curve-6> ;
    ns1:effect <http://light9.bigasterisk.com/show/dance2014/song11/effect-1>,
        <http://light9.bigasterisk.com/show/dance2014/song11/effect-2>,
        <http://light9.bigasterisk.com/show/dance2014/song11/effect-3>,
        <http://light9.bigasterisk.com/show/dance2014/song11/effect-4>,
        <http://light9.bigasterisk.com/show/dance2014/song11/effect-5>,
        <http://light9.bigasterisk.com/show/dance2014/song11/effect-6> .

<http://light9.bigasterisk.com/show/dance2014/song11/curve-1> a ns1:Curve ;
    rdfs:label "song11" .

<http://light9.bigasterisk.com/show/dance2014/song11/curve-2> a ns1:Curve ;
    rdfs:label "slow color chase" .

<http://light9.bigasterisk.com/show/dance2014/song11/curve-3> a ns1:Curve ;
    rdfs:label "full" .

<http://light9.bigasterisk.com/show/dance2014/song11/curve-4> a ns1:Curve ;
    rdfs:label "pool2" .

<http://light9.bigasterisk.com/show/dance2014/song11/curve-5> a ns1:Curve ;
    rdfs:label "back chase slower" .

<http://light9.bigasterisk.com/show/dance2014/song11/curve-6> a ns1:Curve ;
    rdfs:label "blacklight" .

<http://light9.bigasterisk.com/show/dance2014/song11/effect-1> a ns1:Effect ;
    rdfs:label "song11" ;
    ns1:code "env = <http://light9.bigasterisk.com/show/dance2014/song11/curve-1>",
        "out = <http://light9.bigasterisk.com/show/dance2014/sub/song11> * env" .

<http://light9.bigasterisk.com/show/dance2014/song11/effect-2> a ns1:Effect,
        <http://light9.bigasterisk.com/effect/slowColor> ;
    rdfs:label "slow color chase" ;
    ns1:code "b = <http://light9.bigasterisk.com/show/dance2013/sub/blue> * nsin((t+.6) / period)",
        "env = <http://light9.bigasterisk.com/show/dance2014/song11/curve-2>",
        "out = [r*env,y*env,b*env]",
        "period = 1.5",
        "r = <http://light9.bigasterisk.com/show/dance2013/sub/red> * nsin(t / period)",
        "y = <http://light9.bigasterisk.com/show/dance2013/sub/yellow> * nsin((t+.3) / period)" .

<http://light9.bigasterisk.com/show/dance2014/song11/effect-3> a ns1:Effect ;
    rdfs:label "full" ;
    ns1:code "env = <http://light9.bigasterisk.com/show/dance2014/song11/curve-3>",
        "out = <http://light9.bigasterisk.com/show/dance2014/sub/full> * env" .

<http://light9.bigasterisk.com/show/dance2014/song11/effect-4> a ns1:Effect ;
    rdfs:label "pool2" ;
    ns1:code "env = <http://light9.bigasterisk.com/show/dance2014/song11/curve-4>",
        "out = <http://light9.bigasterisk.com/show/dance2014/sub/pool2> * env" .

<http://light9.bigasterisk.com/show/dance2014/song11/effect-5> a ns1:Effect,
        <http://light9.bigasterisk.com/effect/backChaseSlower> ;
    rdfs:label "back chase slower" ;
    ns1:code "env = <http://light9.bigasterisk.com/show/dance2014/song11/curve-5>",
        "out = chase(t, names=backchase, ontime=.3, offset=-.11) * env" .

<http://light9.bigasterisk.com/show/dance2014/song11/effect-6> a ns1:Effect,
        <http://light9.bigasterisk.com/effect/blacklight> ;
    rdfs:label "blacklight" ;
    ns1:code "env = <http://light9.bigasterisk.com/show/dance2014/song11/curve-6>",
        "out = [env * p1, env * p2, env * p4]",
        "p1 = <http://light9.bigasterisk.com/show/dance2013/sub/blue> * .3",
        "p2 = Strip.solid('LR', (0,0,1))",
        "p4 = Blacklight(1)" .