karen Posted April 17, 2023 Share Posted April 17, 2023 attached hip file, I need to randomise the distance in the peak between 0.1 and 0.3 random_distance_peak.hiplc Quote Link to comment Share on other sites More sharing options...
Atom Posted April 17, 2023 Share Posted April 17, 2023 Try following the peak node with a point wrangle running over group1, and add this code. float y_boost = fit01(rand(@P),0.1,0.3); @P.y += y_boost; Quote Link to comment Share on other sites More sharing options...
karen Posted April 18, 2023 Author Share Posted April 18, 2023 My bad, I should have given a better example (not a grid), the real shape is more oval, so there are primitives pointing downwards. random_distance_peak.hiplc Quote Link to comment Share on other sites More sharing options...
AslakKS Posted April 18, 2023 Share Posted April 18, 2023 (edited) You can use the attribute noise for peaking, the mountain node is a shortcut with it setup. Since you want random per point you could set the element size to something tiny Edit: Another option is to use soft peak, with "distance metric" set to attribute, and feed it a random attribute with the range you want Edited April 18, 2023 by AslakKS 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.