-
Detailed wiggle expression for 2 dimensions
Hi,
;
Here is a great detailed wiggle expression I found on Creative Cow and written by Darby Edelen.It’s great, many different paramaters to work with BUT I can’t find a way to make it work with a 2D Position value [x,y] (each dimension.
I’m not an expert, and did try for half an hour but well… No luck. If someone will be kind enough to show me, this would be greatly appreciated.Have a nice evening!
f = 2;
a = 4;
exp = 3;
sign = 1;
w = wiggle(f,1) - value;
if((w < 0)&&!(exp % 2)) sign = -1;
(sign * a * Math.pow(w, exp)) + value;