How to grow the lines randomly

   471   3   0
User Avatar
Member
3 posts
Joined: April 2017
Offline
Hi everyone,

I'm a beginner in Houdini, and I need some help.

I have a scene where a line grows over a logo using Vellum Hair. My question is: how can I make the lines grow randomly?
Right now, all the lines grow at the same time, but I'd like them to grow at different times in a more natural, random way.

File attached.

Thanks in advance!

Attachments:
test.hiplc (681.2 KB)

User Avatar
Member
2658 posts
Joined: June 2008
Offline
Here's one way to do it. Generate a start and end frame attribute for each hair strand. Then loop through each hair and use the frame number to fit the start/end range to 0-1 for second_u.
Edited by Enivob - Aug. 27, 2025 08:40:20

Attachments:
rnd_hair_length.gif (869.5 KB)
ap_test_rnd_carve_length_082725.hiplc (893.4 KB)

Using Houdini Indie 20.5
Windows 11 64GB Ryzen 16 core.
nVidia 3060RTX 12BG RAM.
User Avatar
Member
7 posts
Joined: Sept. 2024
Online
Hi,

a slightly different approach but basically the same thing as above - generating a random carve attribute on each primitive(has to be on primitive level not point).

Image Not Found

Attachments:
test_update.hiplc (660.0 KB)

User Avatar
Member
3 posts
Joined: April 2017
Offline
Guys! THANK YOU SO MUCH! It looks perfect!

You are so kind to take time to help me with this!

Wishing you all the very best!
  • Quick Links