Jump to content
Sign in to follow this  
bobbybob

Create curveu attribute for relative to branch of L-System

Recommended Posts

Is it possible to create some kind of attribute like "curveu" that takes branching into account when creating lines with L-System. I am trying to generate polywire on the lines generated by the L-System, so that the bottom trunk will be the thickest and the tip of the branches will be thin.

Share this post


Link to post
Share on other sites

Use foreach for branches and create gradient along curve and use it for width.

Share this post


Link to post
Share on other sites

Dont need a foreach, just add a resample, dont need to resample anything just make sure to check the curveu attrb. Then in a wrangle.

 

f@width = chramp("myRamp", @curveu);

 

add a polywire and use the attrb @width. You can add a fuse as well if you wish to. 

Edited by Sepu

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×