Making irregular radio-centric wave pattern with Attribute Wrangle

   1418   2   0
User Avatar
Member
15 posts
Joined: June 2013
Offline
Hello everyone!

I am trying to make a digital asset which can generate a realistic wood grain texture.
For this, my first step was to make a irregular wave pattern which I can control with some parameters.
I thought I made it with the following codes:

f@leng = length(@P);
f@ang = acos(@P);
int seed = ch("seed");
f@deform = 1 + sin(@ang) * noise(@ang * seed);
@Cd = cos(@deform * @leng * $PI * chf("frequency"));




Then I found that my wave pattern is irregular but not perfectly irregular as they are symetrical to x axis.
I don't know what I did wrong.

Can anyone help me?
Edited by Shiva99 - March 18, 2022 00:07:52

Attachments:
Irregular_Wave_RI.PNG (1.0 MB)
Irregular_Wave_NW.PNG (29.3 KB)

User Avatar
Member
152 posts
Joined: Aug. 2017
Offline
Best to use Noises in Vop with modulo..

Attachments:
wood01.jpg (139.4 KB)

Conservation of Momentum
User Avatar
Member
15 posts
Joined: June 2013
Offline
Wow! thanks! I will look into this and will be back with my new trial.
  • Quick Links