ai88 Posted December 20, 2020 Share Posted December 20, 2020 Hi, I have a quick question. How can i write the expression that is below based on y position? Thanks. i@strength = fit01(rand(@cluster), ch("min_cluster_strength"), ch("max_cluster_strength")); Quote Link to comment Share on other sites More sharing options...
animatrix Posted December 20, 2020 Share Posted December 20, 2020 Hi, You probably want to use relative bbox Y: i@strength = floor ( fit01( relbbox ( @P ).y, ch("min_cluster_strength"), ch("max_cluster_strength") ) ); 2 Quote Link to comment Share on other sites More sharing options...
ai88 Posted December 20, 2020 Author Share Posted December 20, 2020 12 hours ago, animatrix said: Hi, You probably want to use relative bbox Y: i@strength = floor ( fit01( relbbox ( @P ).y, ch("min_cluster_strength"), ch("max_cluster_strength") ) ); Thanks Yunus I will try it. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.