algorithmic modeling for Rhino
Does anyone have an idea for how to create a camouflage pattern? I am hoping to create a series of closed interlocking curves with a visibly random or camouflage pattern I am not really sure how to get started, as I am a novice at grasshopper.
something like the attached image, minus the colors and with closed curves as boundaries of each colored section would be great.
Tags:
If I have a preexisting set of closed, interlocking curves does that make things easier? I get that there are a few operations that would allow me to deform the curves, but is there anything that would allow me to make them appear random so as to generate a larger group of curves that doesn't repeat?
One way you could investigate is by creating a random heightfield on a flat mesh and then using mesh/plane intersection to create intersection curves.
There are examples of doing this with the image sampler component... use the colour/darkness values from each pixel in an image to move points on a flat mesh in the Z direction. Then get the intersection curves of the deformed mesh with a flat plane. The example I uploaded is pointing at the image attached so you will have to save the image and point the image sampler to it by right clicking and selecting "Image"
You could use random Z values to deform the mesh instead of an image also shown in the attached example file.
If you can work out a good way of deforming the initial mesh to give you intersection curves similar to camo then this way could work. I expect it will require a more sophisticated method - perhaps using Kangaroo tools - to deform the mesh as if random spherical shapes had been pushed into the mesh rather than just randomly moving mesh verticies.
You can play with the number of points to change to smoothness of the final shapes but don't set them too large or it might take ages to compute!
files...
How about using perlin noise instead of random ?
nice!
So I read a bit about Perlin noise. It's interesting stuff. Does it always produce this sort of undulation? i.e. you won't get neighboring points with large, opposite translations like you might get with random points?
And am i right that the Scale input is effecting the frequency of the noise?
Thanks for the info.
I tried applying it to this Anenome fractal tree... It alters the length of the branches and affects the direction of the branches too.
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