How do I make this in the node editor? I don't get how to go around y=(-x)
-
2$\begingroup$ Hello :). If you don't mind me asking, what are such equations in the node editor used for? I have honestly no idea. $\endgroup$– jachym michalCommented Feb 9, 2020 at 9:29
-
2$\begingroup$ @ᴊᴀᴄʜʏᴍᴍɪᴄʜᴀʟ ...for example .. procedural texturing $\endgroup$– Robin Betts ♦Commented Feb 9, 2020 at 9:36
-
2$\begingroup$ @RobinBetts Oh, thank you :). $\endgroup$– jachym michalCommented Feb 9, 2020 at 9:48
1 Answer
Labelled 'Layout > Reroute' nodelets not necessary, but often helpful.
Alternatively, if you have complex expressions to convert, you might consider using @Rich Sedman's Node-Expressions add-on, which could generate a group like this:
It's best to be quite explicit with your bracketing.. In this example, when I didn't bracket the unary minus on x
, the negative was applied to the whole expression, rather than binding to the variable. This is expected Python.. but maybe not obvious.