Making irregular radio-centric wave pattern with Attribute Wrangle

   1440   2   0
User Avatar
Member
15 posts
Joined: 6月 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 - 2022年3月18日 00:07:52

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

User Avatar
Member
152 posts
Joined: 8月 2017
Online
Best to use Noises in Vop with modulo..

Attachments:
wood01.jpg (139.4 KB)

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