Here a rendered of 3d geometry replicating work from Entagma “PROCEDURAL MODELING: QUILLING 06.11.2017 by Moritz”
- Primary image of Kingfisher from
- Points for Voronoi diagram are generated using Kangaroo Circle Packing based on Image from Daniel Piker
- Voronoi cells are then smoothened and spiral are done like in Houdini Video
- Paper is thickened via a script I did in order to go fast, it thicken a polyline and extrude it to a mesh.
- Render in Rhino 6 via Cycle using Grasshopper to color mesh
Here is the script.
Quilling_3d.gh (821.0 KB)
First find an image. Here the kingfisher is from https://pixabay.com/p-2046453/?no_redirect
In order to generate the intended circle packing the image is transformed in grey scale. Play with contrast luminosity … For example I used this one and also another.
In order to work you must find the good number of circles, the good size. Don’t forget to put the toggle to true and click on Button. I add problem with the assemby in the C# script. I add to put the last KangarooSolver.dll link (right click on component and manage assemblies) in order to make it work in Rhino 6. At the end of the script I capture the polygons, here Voronoi in a curve component and I internalize the data.
Now use the color image in order to suppress polygon which have a color near the white. Beware when color is transformed to a point in GH it ranges goes from -1 to 1, not 0 to 254.
The polygons are then smothened
The max circle inscribed in rectangle is searched, it outputs the radius and the center.
Spirals are now made, you can choose the paper thickness and the percentage in length you want for the spiral.
Spiral are then thickened via a script I made in order to limit the number of faces and fasten the script. Offset, loft curves are too slow and too heavy You can make paper thinner. You can play with Perlin noise parameters, see examples below with low noise, no noise, low scale and high noise.