[ Launch: Tributary inlet ] 4742686 by roundrobin
-
-
Save roundrobin/4742686 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}},"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.00992) | |
var i0 = 1; | |
var i1 = 1; | |
var i2 = 1; | |
var vals = [(1.1),(0),(0),(0),(0),(1.1),(0),(0),(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','result7') | |
.attr('values',vals) | |
.attr('id','fe4') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment