Generative Art with Grasshopper3D (Visual Programming)
- Ramiro Sena
- Jan 30, 2021
- 3 min read
Hey guys! I am an architect from Argentina creating Generative Art among other things. Today we are going to use Grasshopper3D to create some art! If you wish you can find me on Instagram.
Requirements:
Grasshopper3D is an amazing tool that comes with Rhinoceros3D. It was a pioneer in Visual Programming, which basically enables the user to graphically manipulate program elements rather than specifying them textually.
Summary:
Create a grid of points
Compute values to move points
Move points in the Y direction
Interpolate points to generate curves
Bake and export to Adobe Illustrator
Alright, let's get right into it!
We are going to start by creating a squared grid of points.
To do this I first create a square of 100 x 100 units, make a surface out of it and finally divide the surface to have my grid of points. (The actual units do not matter as we will then be exporting to Adobe Illustrator and scaling our drawing to 1080 x 1080 pixels or whatever you want it to be.

Then we will use SimplexNoise component together with the Sine component to generate values that will become our amplitudes to move the points in the Y direction. We can see the actual numbers with the Panel component. We will then multiply these by a factor to control our frequency, compute the Sine of these values and then multiply by another factor to control our amplitude. Like so:

Finally, we will interpolate these moved points to generate our curves. We have to make use of a Data Tree managing component called Flip Matrix. In simple words, what this does is change the orientation of how our grid of points is structured from vertical to horizontal. You can try interpolating the points directly without the Flip Matrix component and see how the resulting curves will connect points vertically rather than horizontally. Data Trees are a whole subject in GH, more on them here.

Okay, that was it!
The final definition should look like this and the result below:


Baking and Exporting
Baking means creating the geometry displayed by GH in green into actual geometry in the Rhino workspace. We do this by right-clicking on a component and choosing bake. We can now select the curves and choose File>Export Selected or simply type Export in the Rhino command-line. In the dialog choose to save as Adobe Illustrator (.ai). That's it! You can now open your vectorial art inside Illustrator and scale it as you wish!

Experimenting with Variations
The beauty of Grasshopper is that we can experiment with the values of the sliders, or even try new connections and instantly visualize the results:
For example, if we deconstruct our grid points into their X, Y, Z values, we can take the X value and add it to our Noise values like so before multiplying. Notice how the results change:
In light blue the added components and below the final result:


Getting Picky
Now, suppose we want the amplitude to vary according to Y axis of each point. Let's say, the higher the Y value, the lower the amplitude. This will create almost straight lines at the top and more wavy lines at the bottom. I know what you are thinking: uff...this will be hard.
Surprisingly, it is very easy! We can easily achieve this by multiplying the amplitude values of our grid points at the top by 0 and the ones at the bottom by 1. The ones that get multiplied by 0 mean there is no moving in Y axis, so the results will be straight lines.
We will use the Y values of all of our points and remap them to a domain of 1 to 0. So counting bottom-up the most lower Y values will have a value of 1, the most upper Y values will have a value of 0 and the all the rest will have values between 1 and 0.
In light blue the added components and below the final result:


The good thing about Grasshopper3D is that now you can play with sliders and even certain connections to generate whole new results in seconds! All these were done with the same script (actually the correct name is 'definition') you see on the picture above.
Have Fun!
– Ramiro Sena, generating from Argentina
Soft-spoken, kind, and loving, Radhika is a Chennai escorts who brings comfort and joy with her gentle nature. Her calm aura makes her the perfect choice for those seeking emotional connection alongside intimacy.
https://menkamahajan.com/chennai-call-girls/
https://radhikamehta9543.hashnode.dev/delhi-escorts-service-premium-companionship-in-the-heart-of-the-capital
https://www.generationesports.com/post/teaching-life-skills-to-middle-school-students-through-video-games?commentId=93e29210-becf-40c9-9f62-70ed0a929d96
Hyderabad, also known as the City of Pearls, is a vibrant metropolitan hub where modern lifestyle blends seamlessly with historical charm. Alongside its IT corridors, royal architecture, and nightlife, there exists a discreet and luxurious world of Hyderabad call girls services. These services cater to those seeking companionship, intimacy, and memorable experiences in a confidential and professional manner.
Hyderabad is not just a center for business and culture but also for premium companionship. Hyderabad call girls are known for their elegance, sophistication, and ability to blend into any occasion—be it social gatherings, private meetings, or travel companionship.
Read More :- Call Girls Hyderabad | Call Girls Agra | Call Girl Ahmedabad | Call Girl Ajmer | Call Girl Ambala | Call Girl Amritsar | Call Girl Andheri | Call Girl Baddi | Call Girl…
When it comes to sophistication, charm, and elite companionship, the Chandigarh call girls service stands apart as one of the most sought-after experiences in India. Known as the “City Beautiful,” Chandigarh is not only admired for its modern architecture and clean environment but also for its growing demand for exclusive escort services that redefine luxury and intimacy.
Chandigarh, being the capital of Punjab and Haryana, is a hub for professionals, entrepreneurs, and tourists. With the rise of a vibrant nightlife, high-end hotels, and a booming corporate culture, the demand for call girls in Chandigarh has skyrocketed.
The Chandigarh call girls service is more than just a luxury—it is an art of companionship, romance, and satisfaction. Whether you are a professional looking for stress relief, a traveler seeking companionship, or someone…
Lucknow, the City of Nawabs, is renowned for its culture, hospitality, and timeless charm. Beyond its historical monuments, refined cuisine, and artistic traditions, the city also offers a discreet world of call girls in Lucknow, catering to individuals who seek companionship, intimacy, and relaxation. Our professional escort services are designed to provide not just physical attraction but also emotional connection, luxury, and unforgettable moments.
When selecting a companion, quality, professionalism, and discretion are non-negotiable. The call girls in Lucknow we present are carefully selected to meet the highest standards of beauty, charm, and sophistication.
In the heart of the City of Nawabs, our Lucknow call girl services offer an exclusive blend of elegance, discretion, and unforgettable companionship. Whether you are looking for a graceful partner for…
Generative Art with Grasshopper3D: The Future of Visual Programming
Generative art is reshaping how we think about creativity, and Grasshopper3D is at the heart of this revolution. As a visual programming tool integrated with Rhino, Grasshopper3D allows designers, architects, and artists to create complex, algorithm-driven art without needing traditional coding skills. From architectural facades to dynamic installations, the possibilities of generative design are limitless.
The beauty of Grasshopper3D lies in its intuitive interface where logic, mathematics, and art come together. It empowers creators to experiment, automate workflows, and push boundaries of design efficiency while maintaining aesthetic freedom.
At ebizfiling, we understand how technology and innovation drive modern businesses forward. Just like Grasshopper3D transforms design, services like USA company registration from…