[ Launch: Tributary inlet ] 4743299 by roundrobin
[ Launch: Tributary inlet ] 4742686 by roundrobin
-
-
Save roundrobin/4743299 to your computer and use it in GitHub Desktop.
Tributary inlet
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
{"description":"Tributary inlet","endpoint":"","display":"svg","public":true,"require":[],"fileconfigs":{"inlet.js":{"default":true,"vim":false,"emacs":false,"fontSize":12},"_.md":{"default":true,"vim":false,"emacs":false,"fontSize":12},"config.json":{"default":true,"vim":false,"emacs":false,"fontSize":12}},"fullscreen":false,"play":false,"loop":false,"restart":false,"autoinit":true,"pause":true,"loop_type":"period","bv":false,"nclones":15,"clone_opacity":0.4,"duration":3000,"ease":"linear","dt":0.01} |
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
var defs = g.append('defs') | |
var filter = defs.append('filter') | |
.attr('id','myFilterName') | |
var filter_elem1 = filter.append('feGaussianBlur') | |
.attr('result','result8') | |
.attr('id','fe1') | |
.attr('stdDeviation',0) | |
g.append('text') | |
.text("Lorem Ipsum") | |
.attr({ | |
fill: "#000000", | |
x : 0, | |
y: 200, | |
"font-size": 165, | |
"font-family": "Arial", | |
"text-anchor": "start", | |
"filter" : "url(#myFilterName)" | |
}); | |
var filter_elem2 = filter.append('feTurbulence') | |
.attr('result','result7') | |
.attr('id','fe2') | |
.attr('seed','27') | |
.attr('type','fractalNoise') | |
.attr('numOctaves','5') | |
.attr('baseFrequency',0.00821) | |
var filter_elem9 =filter.append('feBlend') | |
.attr('mode','multiply') | |
.attr('in','SourceGraphic') | |
.attr('in2','result7') | |
var filter_elem3 = filter.append('feComposite') | |
.attr('result','result6') | |
.attr('in','result7') | |
.attr('in2','SourceGraphic') | |
.attr('id','fe3') | |
.attr('operator','in') | |
var i0 = 1; | |
var i1 = 1; | |
var i2 = 1; | |
var vals = [(0.264),(0),(-14),(0),(0),(1.1),(0),(-1),(0),(0),(1.1),(0),(0),(0),(0),(1.276),(0),(0),(0),(0)].join(" "); | |
//var vals = [(i0),(-0.044),(-0.208),(0.17952),(0.11904),(1.1),(-0.088),(1.716),(1.1),(0.66),(0.512),(0),(-1.288),(0),(-0.392),(0),(0),(1),(1),(1)].join(" "); | |
var filter_elem4 = filter.append('feColorMatrix') | |
.attr('result','result9') | |
.attr('values',vals) | |
.attr('id','fe4') | |
var filter_elem5 = filter.append('feDisplacementMap') | |
.attr('result','result4') | |
.attr('in','result6') | |
.attr('in2','result9') | |
.attr('id','fe5') | |
.attr('xChannelSelector','B') | |
.attr('yChannelSelector','G') | |
.attr('scale',38.75) | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment