John Rostron Posted March 6, 2019 Share Posted March 6, 2019 WARNING: for the technically-minded only! The Noise functions in the Filters > Distort> Equations facility are supposed to add (unspecified) noise to an image. The only description I can find of this is in the video by James Ritson. He first duplcates the layer and then uses either noise(x*y)*a or noise4(x*y)*a in his equation. This produces a grain-like effect over his image. The documentation for equations is limited. There is the Expressions for field input in the Help system which gives, under : Noise(seed/x,y), an explanation: Generate 1D noise either from a seed or based on X/Y input with similar definitions for noise2, noise3 and noise4. James uses both the noise and the noise4 functions. In his video he is using the single seed parameter x*y, with the magnitude controlled by the a parameter. I have been experimenting with these noise functions and present here my findings Although the Expressions for field input names the functions Noise ... Noise4, with a capital letter, these will not work. You need to use a lower case n for noise. The function noise2 has no effect. The functions noise, noise3 and noise4 seem to produce identical visible results. The histograms are also identical. Using a single parameter, either a simple number, or an expression such as x*y, has no visible effect unless the Full option is selected in the Extend Mode at the bottom. When using two parameters, they need to be different in the x and y axes to produce any visible result. Multiplying the parameters by a number, such as noise(10x,10y), has no visible effect. I show here the effect of varying these parameters on a simple gradient field: Here is the effect of x=noise(x,y) and y=noise(y,x): The results for noise3 and noise4 are identical, as are noise(3x,3y) etc as are the histograms. If the parameters are the same, say x=noise(x,x) and y=noise(y,y) You get a very different effect: Almost like a tartan effect. If the noise functions are the same in both x and y such as x=noise(x,y) and y=noise(x,y), it works OK, but if you use x=noise(y,x) and y=noise(y,x) there is no visible effect unless you select Full: The difference between using Zero and Full in the Extend Mode at the bottom is subtle. Using Full seems to convert the image into a monochrome effect with the background invisible. However, the noise is based on the luminance of the background. Just for comparison, I append here the effect of the effect of the Add Noise filter (Filter > Noise > Add Noise...): You can control the intensity of the noise here, which is more than you can in any of the noise functions I have described. In conclusion, I would recommend that if you want noise, then use the Filter > Noise > Add Noise... option above until such time as the devs at Serif come up with a more understandable noise function in Equations. Having said that I am not holding my breath on this. Using noise in equations is probably a minority pursuit amongst users and the Add Noise filter is much easier. John Alfred and Uwe367 1 1 Quote Windows 11, Affinity Photo 2.4.2 Designer 2.4.2 and Publisher 2.4.2 (mainly Photo). CPU: Intel Core i5 8500 @ 3.00GHz. RAM: 32.0GB DDR4 @ 1063MHz, Graphics: 2047MB NVIDIA GeForce GTX 1050 Link to comment Share on other sites More sharing options...
Uwe367 Posted April 16, 2019 Share Posted April 16, 2019 That's very interesting. Thank you. John Rostron 1 Quote Have a nice day. Ich wünsche einen schönen Tag. Link to comment Share on other sites More sharing options...
Pariah73 Posted April 16, 2019 Share Posted April 16, 2019 thank you for this post! John Rostron 1 Quote Link to comment Share on other sites More sharing options...
Uwe367 Posted April 16, 2019 Share Posted April 16, 2019 This is really a very interesting Filter. Is there a listing available where are all possibilities listed? I think there are much more possibilties than only noise and twirl or not? Quote Have a nice day. Ich wünsche einen schönen Tag. Link to comment Share on other sites More sharing options...
John Rostron Posted April 16, 2019 Author Share Posted April 16, 2019 4 minutes ago, Uwe367 said: This is really a very interesting Filter. Is there a listing available where are all possibilities listed? I think there are much more possibilties than only noise and twirl or not? I take it you are referring to Filters > Distort > Equations. You need to look in the Help system for ''Field Expressions'. It includes all the standard arithmetic, algebraic and trigonometric expressions. You can use these in any context where you might input a number, such as Document > Resize, where you could put 50% or *0.5 or even sqrt(w). (w is the width.) John Uwe367 1 Quote Windows 11, Affinity Photo 2.4.2 Designer 2.4.2 and Publisher 2.4.2 (mainly Photo). CPU: Intel Core i5 8500 @ 3.00GHz. RAM: 32.0GB DDR4 @ 1063MHz, Graphics: 2047MB NVIDIA GeForce GTX 1050 Link to comment Share on other sites More sharing options...
Alfred Posted April 16, 2019 Share Posted April 16, 2019 8 minutes ago, John Rostron said: You need to look in the Help system for ''Field Expressions'. Expressions for field input The online Help has yet to be corrected. It currently says /2 Divide by a half. when it should explain ‘/2’ as either ‘Divide by two’ or, less obviously, ‘Multiply by a half’. John Rostron and Uwe367 1 1 Quote Alfred Affinity Designer/Photo/Publisher 2 for Windows • Windows 10 Home/Pro Affinity Designer/Photo/Publisher 2 for iPad • iPadOS 17.5.1 (iPad 7th gen) Link to comment Share on other sites More sharing options...
Uwe367 Posted April 16, 2019 Share Posted April 16, 2019 1 minute ago, John Rostron said: I take it you are referring to Filters > Distort > Equations. You need to look in the Help system for ''Field Expressions'. It includes all the standard arithmetic, algebraic and trigonometric expressions. You can use these in any context where you might input a number, such as Document > Resize, where you could put 50% or *0.5 or even sqrt(w). (w is the width.) John Thanks John and Alfred. Yes, i mean this Filter. John Rostron 1 Quote Have a nice day. Ich wünsche einen schönen Tag. Link to comment Share on other sites More sharing options...
dmstraker Posted April 17, 2019 Share Posted April 17, 2019 Helpful. Thanks John. Nice presentation of findings, too. Further playing: Polar, r blank, t=noise(a,b) gives circles using image colours Could be good as a background frame for actual image (use non-zero Extend Mode) Polar, r blank, t=noise(r,r) gives interesting dotty spacey circly thing (umm) Cartesian, x=a*max(x,y), y=b*min(x,y) gives diagonal flip. Oh dear. I see hours of pointless fun ahead... Alfred and John Rostron 2 Quote Dave Straker Cameras: Sony A7R2, RX100V Computers: Win10: Chillblast i9 Custom + Philips 40in 4K & Benq 23in; Surface Pro 4 i5; iPad Pro 11" Favourite word: Aha. For me and for others. Link to comment Share on other sites More sharing options...
John Rostron Posted April 18, 2019 Author Share Posted April 18, 2019 16 hours ago, dmstraker said: Oh dear. I see hours of pointless fun ahead Don't tempt me! John Quote Windows 11, Affinity Photo 2.4.2 Designer 2.4.2 and Publisher 2.4.2 (mainly Photo). CPU: Intel Core i5 8500 @ 3.00GHz. RAM: 32.0GB DDR4 @ 1063MHz, Graphics: 2047MB NVIDIA GeForce GTX 1050 Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.