Welcome back. In our last lesson, we established the crucial technique of remapping numerical domains, which allows us to translate one set of data into another. You built a simple yet powerful system where the distance from a point controlled the radii of circles.
Today, we will significantly expand on that foundation. This lesson is dedicated to one of the most expressive techniques in parametric design: using attractor points and curves to modulate geometric properties. We will move beyond simple scaling to control more complex transformations like rotation and extrusion, and we'll see how this logic can be applied to both single and multiple attractors, including points and curves. By the end of this lesson, you will be able to create dynamic, responsive architectural systems where geometry intelligently adapts to its relationship with attractor objects.
The Core Logic of Attractors
In the previous lesson, you intuitively used an attractor. Let's formalize the logic. An attractor system is a generative process that works in four main steps:
- Field: A collection of objects (points, curves, surfaces) is established. This is the geometry that will be affected.
- Driver: A relationship is calculated between each object in the field and the attractor geometry. The most common driver is distance.
- Remap: The list of driver values (e.g., distances) is remapped from its original domain to a new target domain that represents the desired range of a geometric property (e.g., rotation angle from 10° to 90°). This is the exact process we covered last lesson.
- Transformation: The remapped values are used to transform each object in the field.
From your math background, you can recognize this as a form of function mapping. The distance is the input variable, and the transformation parameter is the output, defined by a function . The Remap Numbers component, often combined with a Graph Mapper, is how we define this function .
This diagram perfectly illustrates the process:

The beauty of this method is its versatility. Any geometric property that can be controlled by a single number—scale, rotation, color, transparency, extrusion height, aperture size—can be driven by an attractor.
From Attractor Points to Attractor Curves
While attractor points are useful, attractor curves often allow for more fluid and linear gradients in architectural design. The logic remains identical; we simply switch from calculating the distance to a point to calculating the shortest distance to a curve. Grasshopper has dedicated components for this.
Let's build a practical example of a facade where panels rotate based on their proximity to an attractor curve. This is a classic parametric design exercise that demonstrates the concept perfectly.
Creating an Attractor Curve in Grasshopper: Step-by-Step Tutorial
This tutorial from Hopific.com provides a clear, step-by-step guide to creating an attractor curve system. We will follow its logic to build our own rotating panel facade.
First, read the introductory section, The Logic, which reinforces the four-step process we just discussed. Next, follow the Step-by-Step Tutorial section closely. You should build this definition in Grasshopper as you read. Pay special attention to these key moments: Defining the transformation: Notice how they isolate the corner point of each panel to act as the rotation pivot. Getting the distance: The Curve Closest Point component is the key tool here. It takes the panel centroids (P) and the attractor curve (C) and outputs the distances (D). Remapping and connecting: This final step brings together the Remap, Bounds, and Construct Domain components you learned about in the last lesson. Note the important use of Graft to ensure the rotation values match the corresponding panels. We will cover data trees in depth later, but for now, understand that grafting ensures each panel gets its own individual rotation value.
After following that tutorial, you should have a responsive facade system. The image below shows the complete Grasshopper definition and its resulting geometry, which should look familiar.

Expanding the Possibilities: Multiple Attractors and 3D Forms
The logic you've learned is incredibly scalable. It can handle multiple attractors and can be used to control 3D transformations just as easily as 2D ones. The following video tutorial demonstrates these extensions powerfully.
Everything to know about PARAMETRIC ATTRACTOR POINTS (Grasshopper beginner tutorial)
This video by Andrew Friedenberg, titled "Everything to know about PARAMETRIC ATTRACTOR POINTS," is a comprehensive guide that builds from the basics to advanced applications.
We'll watch this in a few key segments: Review and Multiple Attractors: Watch from the beginning to about the initial setup, where the core concept is reviewed. Then, jump to the segment showing how to handle multiple points and curves as attractors. The Closest Point component automatically finds the single nearest attractor for each grid point, simplifying the process. From 2D Circles to 3D Pyramids: The true power comes when we move to 3D. Watch the segment from extruding pyramids. Notice how the exact same remapped values that were previously used for circle radii are now used to define the amplitude of a vector, which in turn controls the extrusion height of a pyramid. The generative logic is separate from the final geometric operation. Application on a Complex Surface: Finally, see how this entire system can be applied to a non-planar surface. Watch from applying to a SubD surface. This demonstrates that the attractor logic is robust and not limited to simple flat grids, making it directly applicable to the complex, free-form shapes common in contemporary architecture.
Consolidation and Best Practices
To consolidate what you've learned, let's watch one more concise tutorial that highlights a few important best practices.
1.03 Grasshopper Fundamentals: Attractors
This video from "The Different Design" channel provides a quick and clear walkthrough of creating a basic attractor point system.
As you watch, pay attention to these three key details: Data Flattening: At the beginning, the instructor flattens the data tree. This is a crucial step to ensure that all the grid points are treated as a single list, allowing the Bounds component to find the single minimum and maximum distance for the entire field. Avoiding Zero-Scaling: In the section on remapping, the instructor correctly points out that scaling by a factor of zero can cause errors and makes geometry disappear. By setting the target domain to start at a small number like 0.01 instead of 0, the definition remains stable. Swapping Geometries: Towards the end, from the end, notice how easily the base geometry is swapped from a hexagonal grid to a radial grid and then to a Voronoi pattern. This again proves that the attractor logic is a self-contained "engine" that can be plugged into various geometric systems.
Conclusion
In this lesson, we moved from the abstract concept of remapping numbers to a concrete and highly versatile design technique. You have learned how to use attractor points and curves to create sophisticated, data-driven geometric patterns.
Key Takeaways:
- The core logic of attractors follows a clear sequence: defining a field of objects, calculating a driver value (like distance), remapping that value to a target range, and applying the result as a geometric transformation.
- This logic is flexible: attractors can be points, curves, or even surfaces, and the system can handle multiple attractors.
- The same set of remapped values can drive a wide variety of geometric properties, including scale, rotation, and 3D extrusions.
- The attractor system is robust and can be applied to simple grids or complex, free-form surfaces with equal success.
You now have a powerful tool for embedding responsive behavior directly into your designs. In our next lesson, we will explore another method for generating complex form: using mathematical functions, such as sine waves, to create undulating patterns and surfaces. This will add another layer of mathematical control to your parametric toolkit.