Skip to content

Commit

Permalink
🍱 Add "Rocks" example, update old filters
Browse files Browse the repository at this point in the history
  • Loading branch information
CosmoMyzrailGorynych committed Jan 24, 2019
1 parent c4a18b2 commit 92e5185
Show file tree
Hide file tree
Showing 3 changed files with 420 additions and 69 deletions.
42 changes: 7 additions & 35 deletions app/sampleFilters/Adjustments.fjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"inputLinks": [
{
"inputKey": "image",
"outBlock": 3,
"outKey": "canvas"
"outBlock": 6,
"outKey": "output"
}
],
"x": 560,
Expand Down Expand Up @@ -42,28 +42,14 @@
"template": "gammaCorrection",
"tagValues": {}
},
{
"id": 3,
"inputLinks": [
{
"inputKey": "pixels",
"outBlock": 6,
"outKey": "output"
}
],
"x": 400,
"y": -60,
"template": "pixelsToCanvas",
"tagValues": {}
},
{
"id": 5,
"inputLinks": [],
"x": -580,
"y": 60,
"template": "numberInput",
"tagValues": {
"number": 1.4
"number": 1.2
}
},
{
Expand All @@ -76,8 +62,8 @@
},
{
"inputKey": "input",
"outBlock": 8,
"outKey": "pixels"
"outBlock": 2,
"outKey": "output"
}
],
"x": 120,
Expand All @@ -94,25 +80,11 @@
"tagValues": {
"number": 1.2
}
},
{
"id": 8,
"inputLinks": [
{
"inputKey": "canvas",
"outBlock": 2,
"outKey": "output"
}
],
"x": -20,
"y": -60,
"template": "canvasToPixels",
"tagValues": {}
}
],
"view": {
"x": -162,
"y": -5
"x": -69,
"y": -8
},
"lastId": 9,
"seed": 0
Expand Down
70 changes: 36 additions & 34 deletions app/sampleFilters/Normals.fjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"inputLinks": [
{
"inputKey": "image",
"outBlock": 10,
"outKey": "canvas"
"outBlock": 14,
"outKey": "normals"
}
],
"x": 720,
Expand All @@ -18,8 +18,8 @@
{
"id": 1,
"inputLinks": [],
"x": -440,
"y": -40,
"x": 720,
"y": -100,
"template": "inputImage",
"tagValues": {}
},
Expand Down Expand Up @@ -145,20 +145,6 @@
"number": 1
}
},
{
"id": 10,
"inputLinks": [
{
"inputKey": "pixels",
"outBlock": 12,
"outKey": "normals"
}
],
"x": 560,
"y": 0,
"template": "pixelsToCanvas",
"tagValues": {}
},
{
"id": 11,
"inputLinks": [],
Expand All @@ -170,39 +156,55 @@
}
},
{
"id": 12,
"id": 13,
"inputLinks": [],
"x": -40,
"y": -100,
"template": "numberInput",
"tagValues": {
"number": 10
}
},
{
"id": 14,
"inputLinks": [
{
"inputKey": "height",
"outBlock": 2,
"outKey": "pixels"
"outBlock": 15,
"outKey": "canvas"
},
{
"inputKey": "intensity",
"outBlock": 13,
"outKey": "number"
}
],
"x": 280,
"x": 420,
"y": 0,
"template": "computeNormals",
"tagValues": {}
},
{
"id": 13,
"inputLinks": [],
"x": -40,
"y": -100,
"template": "numberInput",
"tagValues": {
"number": 10
"flip": false
}
},
{
"id": 15,
"inputLinks": [
{
"inputKey": "pixels",
"outBlock": 2,
"outKey": "pixels"
}
],
"x": 240,
"y": 80,
"template": "pixelsToCanvas",
"tagValues": {}
}
],
"view": {
"x": -160,
"y": -256
"x": -369,
"y": -185
},
"lastId": 14,
"lastId": 16,
"seed": 0
}
Loading

0 comments on commit 92e5185

Please sign in to comment.