Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
Tamas Schalk committed Sep 8, 2019
2 parents 99c48b7 + c6b408c commit a966eb0
Show file tree
Hide file tree
Showing 18 changed files with 1,389 additions and 283 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,4 @@
/node_modules/
/closure-compiler.jar
/releases
/test/*.png
100 changes: 82 additions & 18 deletions demo/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,69 @@ <h1>Seamless texture generator</h1>
</script>


<script type="text/javascript" id="xor" class="preset" title="xor">

var params = {
"width": 256,
"height": 256,
"normalize" : "pingpong",
"items": [
[0, "xor", {
"zoom": [1, 14]
}],
[1, "xor", {
"zoom": [1, 21]
}],
[2, "xor", {
"zoom": [1, 42]
}],

[3, "copy", 0],
[3, "merge", {
"layer": 1,
"blend": "random"
}],
[3, "merge", {
"layer": 2,
"blend": "random"
}]
]
}
</script>

<script type="text/javascript" id="xor-sharpen" class="preset" title="xor-sharpen">

var params = {
"width": 256,
"height": 256,
"normalize" : "pingpong",
"items": [
[0, "xor", {
"zoom": [1, 4]
}],
[1, "xor", {
"zoom": [1, 7]
}],
[2, "xor", {
"zoom": [1, 14]
}],
[3, "copy", 0],
[3, "merge", {
"layer": 1,
"blend": "random"
}],
[3, "merge", {
"layer": 2,
"blend": "random"
}],
[3, "sharpen"],
[3, "brightness", {"adjust": 10, "legacy": true}],
[3, "vibrance", {"adjust": 50}],
[3, "contrast", {"adjust": 50}]
]
}
</script>

<script type="text/javascript" id="fire" class="preset" title="fire">
var params = {
"width": 256,
Expand Down Expand Up @@ -506,7 +569,7 @@ <h1>Seamless texture generator</h1>
"normalize": "compress",
"items": [
[4, ["spheres", "pyramids", "waves", "subplasma", "dots", "clouds", "noise", "lines2", "colorbar", "checkerboard",
"lines", "squares", "circles", "crosshatch"], {
"lines", "squares", "circles", "crosshatch","xor"], {
"blend": ["lighten","opacity","screen"],
"rgba": [[0, 255], [0, 255], [0, 255], [0.2, 0.9]],
"dynamic": "random"
Expand All @@ -515,7 +578,7 @@ <h1>Seamless texture generator</h1>
[0, "copy", 4],

[4, ["spheres", "pyramids", "waves", "subplasma", "dots", "clouds", "noise", "lines2", "colorbar", "checkerboard",
"lines", "squares", "circles", "crosshatch"], {
"lines", "squares", "circles", "crosshatch","xor"], {
"blend": "random",
"rgba": [[0, 255], [0, 255], [0, 255], [0.1, 0.9]],
"dynamic": "random"
Expand All @@ -524,7 +587,7 @@ <h1>Seamless texture generator</h1>
[1, "copy", 4],

[4, ["spheres", "pyramids", "waves", "subplasma", "dots", "clouds", "noise", "lines2", "colorbar", "checkerboard",
"lines", "squares", "circles", "crosshatch"], {
"lines", "squares", "circles", "crosshatch","xor"], {
"blend": "random",
"rgba": [[0, 255], [0, 255], [0, 255], [0.1, 0.9]],
"dynamic": "random"
Expand All @@ -533,7 +596,7 @@ <h1>Seamless texture generator</h1>
[2, "copy", 4],

[4, ["spheres", "pyramids", "waves", "subplasma", "dots", "clouds", "noise", "lines2", "colorbar", "checkerboard",
"lines", "squares", "circles", "crosshatch"], {
"lines", "squares", "circles", "crosshatch","xor"], {
"blend": "random",
"rgba": [[0, 255], [0, 255], [0, 255], [0.1, 0.9]],
"dynamic": "random"
Expand Down Expand Up @@ -1211,7 +1274,7 @@ <h1>Seamless texture generator</h1>
[0, "checkerboard", {"size": 4, "rgba": "randomalpha", "blend": "opacity"}],
[0, "checkerboard", {"size": 2, "rgba": "randomalpha", "blend": "opacity"}],
[0, "sharpen", {"type": 2}],
[0, "spheres", {"blend": "random", "dynamic": true, "opacity": 255}]
[0, "spheres", {"blend": "random", "dynamic": true}]
]
}
</script>
Expand Down Expand Up @@ -1542,23 +1605,24 @@ <h1>Seamless texture generator</h1>
var params = {
"width": 256,
"height": 256,
"normalize" : "compress",
"normalize" : "pingpong",
"items": [
[0, "subplasma", {
"seed": 3612991,
"size": [1,5],
"rgba": [[0, 255], [0, 255], [77, 255], 1]
[0, "xor", {
}],
[0, "sinecolor", {
"seed": 10373136,
"channel": [0, 2]
[1, "xor", {
}],
[0, "subplasma", {
"blend": "backlight",
"size": 5,
"rgba": [139, 67, 248, 138]
[2, "spheres", {
"dynamic": true
}],
[3, "copy", 0],
[3, "merge", {
"layer": 1,
"blend": "random"
}],
[0, "colorize", {"colormap": "ice"}]
[3, "merge", {
"layer": 2,
"blend": "random"
}]

]
}
Expand Down
Loading

0 comments on commit a966eb0

Please sign in to comment.