-
Notifications
You must be signed in to change notification settings - Fork 218
Add documentation to [Raster], [Blob] and [RoundedRect] #354
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I've changed the order of the parameters here to be neater, but I won't be doing that on other ops going forward.
}, | ||
{ | ||
"InputId": "d2401798-593b-4cc3-85d8-3570ddec1f2a"/*Scale*/, | ||
"Position": { | ||
"X": -212.96689, | ||
"Y": 167.20885 | ||
}, | ||
"Description": "Scales the shape uniformly.", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
be consistant w/ line 44 : use "Stretches" here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've used "stretches" for nonuniform scaling and "scales" for uniform scaling, to match the parameters' names. If it would be better to use the same word throughout, I'll change both to "scales".
@@ -1,68 +1,77 @@ | |||
{ | |||
"Id": "4f89b41b-1643-442b-bec8-9f9ef2173baa"/*Raster*/, | |||
"Description": "Generates a wide range of different raster patterns. You can also connect an input texture to drive various aspects of the pattern.", | |||
"Description": "Generates a wide range of patterns of dots and lines.\n\nConnecting a texture to the Image input will allow the pattern to be influenced differently at different parts of the texture.\n\nAKA: polkadot, pattern, grid, crosshair", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"The image input let the pattern be influenced by its content (reference the channel" (texture is redundant, and the passive form is a bit confusing)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this line is very clunky in hindsight... Thanks for catching that! Will revise it (might be able to just remove it entirely in fact.)
Thanks a lot for that great contribution! |
Also renamed some parameters to be more consistent, and altered the layout of [Raster] to group similar parameters together. I won't be doing many more layout changes in the near future though, since we don't have a convention for them yet.