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

172

label

Modeling

Adaptive Resampling of Curves

favorite

318

label

Modeling

Applying Scales to Mesh Surfaces

favorite

277

label

Modeling

Approximating subdivision surfaces

favorite

219

label

Modeling

Blending COPs SDFs into 3D Volume

favorite

309

label

Modeling

Branching Subdivision Curves

favorite

163

label

Modeling

Circuit Networks