algorithmic modeling for Rhino
Hello people!
I'm trying to create a definition that connects random dots inside an rectangle so they form triangles.
The effect i'm looking for is from a program i found online. It probably calculates the distance between the points so the triangles it creates don't have very long sides.
All my attempts were very far from the goal so I'm only uploading the population. Pictures 2 and 3 demonstrate how the software works and changes which dots to connect. The software can be found here: https://www.behance.net/gallery/10543937/Image-Triangulator-App
Thank you very much!
Tags:
GH provides components that populate ("even") rand pts and also 2 components that perform a classic Delauney triangulation and the alter ego thingy (Voronoi).
BTW: For non planar pts collections and depending on their Topology you'll need probably ball pivot algos for triangulation.
WB plug-in provides means to do something with the resulting mesh. If however your rand points are "somehow" related with pixel RGB values ... that's also doable.
For "post processing" the mesh (say: excluding "wrong" edge ratios or some other goal) ... well ... you can do it via code and/or try "relaxation" via Kangaroo (the most important plug-in that GH has to offer). MeshMachine is also something worth trying on that matter.
For Connectivity Trees (vertices, edges, faces) try SandBox plug in.
Thank you very much!
See this for instance (requires WB plug-in for the "after" effects).
Added a Z "noise" ability for fun (but if you use big domain values ... you'll see that Delauney starts to give up: not the Jack for all trades with regard triangulation [ ball pivot masterminded in IBM Labs long time ago ... is]).
Connectivity Trees are not provided ... since ... well ... what is your experience with these mysterious/ominous thingies (DataTrees and the likes?).
This is rather better since allows "some space" between the 2 classes of Rand pts.
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by