Spider Web

calendar_today

24.03.2023

label

Modeling

mouse

Houdini 19.5

Description

An orb web with hanging threads.

1 Code

For resampled curve segments on a spider web, a is the user defined hanging amount, u the relative and r the absolute length. u * (1.0 - u) is a function to make the curves hang in their center.

C
        float a = chf('amount');
float u = vertexcurveparam(0, i@vtxnum);
float r = prim(0, 'restlength', i@primnum);

v@P.y -= u * (1.0 - u) * a * r;
    
download

Downloads

link

Related articles

favorite

150

label

Modeling

Adaptive Resampling of Curves

favorite

301

label

Modeling

Applying Scales to Mesh Surfaces

favorite

247

label

Modeling

Approximating subdivision surfaces

favorite

199

label

Modeling

Blending COPs SDFs into 3D Volume

favorite

291

label

Modeling

Branching Subdivision Curves

favorite

143

label

Modeling

Circuit Networks