I’m an avid Cinema4D user and I’m trying to learn Grasshopper by recreating some basic scenes that are easy for me to setup using C4D/Mograph.
Here’s a reference image I’m working with.
See the grid of rounded rectangles? Notice how they start small, then quickly get larger towards the center?
Creating this effect in Cinema4D is pretty straightforward. Here is my file, and a screenshot of what I’ve done there:
C4D.zip (90.7 KB)
What I do in Cinema4D is:
- Create a basic rounded rectangle curve/spline.
- Place it into a grid cloner with a high amount of clones on X/Y axis.
- Use a formula effector to hide every other clone. The effector takes the # id of the clone (eg: 1, 2, 3, 4, 5, 6, etc) then passes it into a mod formula. This let’s me hide every other clone based on its # id.
- Finally, I use a scale effector to increase the size of each clone, and I apply a box-shaped “falloff” towards the center of the grid, so that clones closest to the center get larger.
I’m failing to see how to do this in Grasshopper. Assuming I create a rounded rectangle curve, how might I replicate a similar setup like this?