Skip to content

Commit

Permalink
🟦🤏 [Nodes] Tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
JulesFouchy committed Jan 5, 2024
1 parent ffca677 commit 3eed371
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 25 deletions.
6 changes: 2 additions & 4 deletions Nodes/20 Greyscale/Length.clbnode
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
// To learn how to write nodes, see https://coollab-art.com/Tutorials/Writing%20Nodes/Intro

INPUT UV 'UV';

float main(UV uv)
float main(vec2 Vec2)
{
return length('UV');
return length(Vec2);
}
32 changes: 11 additions & 21 deletions Nodes/50 2D Modifier/Translate.clbnode.presets.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,36 +7,26 @@
"Name": "Default",
"Values": [
{
"index": 4,
"index": 3,
"data": {
"Name": "Translation",
"Value": {
"x": 0.0,
"y": 0.0
"Point2D": {
"x": 0.5,
"y": 0.0
}
},
"Metadata": {
"Bounds": {
"Has min bound": false,
"Min": 0.0,
"Has max bound": false,
"Max": 1.0,
"Drag speed": 0.009999999776482582,
"Use slider": false
}
"Drag speed": 0.00009999999747378752
},
"Default Value": {
"x": 0.5,
"y": 0.0
"Point2D": {
"x": 0.0,
"y": 0.0
}
},
"Default Metadata": {
"Bounds": {
"Has min bound": false,
"Min": 0.0,
"Has max bound": false,
"Max": 1.0,
"Drag speed": 0.009999999776482582,
"Use slider": false
}
"Drag speed": 0.00009999999747378752
}
}
}
Expand Down

0 comments on commit 3eed371

Please sign in to comment.