Skip to content

Instantly share code, notes, and snippets.

@simonreeves
Last active September 28, 2020 11:43
#houdini #vellum #rbd #vex #geometry_wrangle #prim
// get first point on each prim
i@point_zero = primpoints(0, @primnum)[0];
// get that point's emit frame
i@emit_frame = point(0, '__frame', @point_zero)*.01;
// subtract emit frame from current frame to create age
i@age = @Frame - @emit_frame;
// at a certain frame lower the strength
if (@age == chi('frame')) {
f@strength = @strength_orig * chf('low_strength');
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment