In our last lesson, we established the fundamental spatial building blocks of Grasshopper: points for location, vectors for direction, and planes for orientation. We now move from this abstract scaffolding to the elements that give architectural form its character and flow: curves. This lesson will show you how to construct and deconstruct parametric curves, which serve as the essential outlines, paths, and profiles for more complex geometry.
Your background in calculus and mechanics has already familiarized you with the concept of describing motion or a path as a function of time, . We will see today how this same mathematical principle is the very engine that drives the creation and analysis of curves in parametric design. You will learn to both build curves from discrete data, like a series of points, and query existing curves to extract their underlying geometric properties.
The Mathematics of Digital Curves: NURBS
Before we begin building in Grasshopper, it's essential to understand the type of geometry we are working with. Most free-form curves and surfaces in Rhino and Grasshopper are represented as NURBS (Non-Uniform Rational B-Splines). This is a mathematical model that allows for the precise and efficient representation of complex, smooth shapes.
The following video from ParametricCamp provides an excellent conceptual overview of the key properties of a NURBS curve. As you watch, focus on how these properties relate to the parametric equations you are familiar with.
4.1 Introduction to NURBS Geometry - Intro to Parametric Modeling
This video explains the core concepts of NURBS geometry that are fundamental to working in Rhino and Grasshopper.
First, watch the segment explaining control points and degree. Pay close attention to how the "control polygon" acts as a scaffold that influences the curve's shape, and how the "degree" determines the smoothness and its relationship to that scaffold. A degree 1 curve is a simple polyline, while a degree 3 curve is the smooth standard for design. Next, watch the segment on the curve's domain and parameters. This is the most important part. The presenter explains that a curve has an internal numerical range, its "domain," and any number t within that domain corresponds to a unique point on the curve. This t is the parameter in the parametric equation C(t). Note the crucial point that the parameter t is not necessarily proportional to the curve's actual length.
To summarize the key ideas from the video:
- Control Points: A series of points in space that define the overall shape of the curve. The curve does not necessarily pass through them (unless it's a special type, like an "interpolated" curve).
- Degree: A positive integer that determines the smoothness of the curve. A higher degree results in a smoother curve. For a curve of degree , you need at least control points.
- Domain: A numerical range, for example , that represents the "address space" of the curve. For any parameter in the domain, we can calculate the coordinates of the corresponding point on the curve.
Constructing Curves in Grasshopper
Now let's apply these concepts. In Grasshopper, curves are typically constructed from a set of points. The primary components for this are found under the Curve > Spline tab.
The resource from the ETH Zurich academic platform provides a good overview of the most common curve creation components.
3.4. NURBS | Academic Platform for Teaching Materials
This guide introduces the primary components for creating different types of curves from points.
Please read the first few sections to understand the different construction methods. Focus on the descriptions for: NURBS curve: The standard, most flexible curve type, defined by control points, degree, and periodicity (whether it's open or closed). Interpolate curve: This component creates a curve that is forced to pass through the supplied vertices. PolyLine: This simply connects the supplied points with straight line segments, creating a degree 1 curve.
The image below shows a simple Grasshopper definition that takes a list of points (here, manually created in Rhino and referenced into Grasshopper) and uses them as vertices for a Nurbs Curve component. You can see how parameters like Degree and Periodic are exposed as inputs, allowing you to parametrically control the curve's final shape.

Deconstructing and Analyzing Curves
Constructing a curve is only half the story. The real power of parametric design comes from deconstructing and analyzing existing geometry to drive new design decisions.
The Curve Domain and Reparameterization
As the video explained, every curve has a domain, but this domain is often arbitrary (e.g., from 0 to 111.99). This makes it difficult to predictably find points, for example, the midpoint. To solve this, we use a fundamental Grasshopper technique called reparameterization. This process mathematically remaps the curve's domain to a normalized range of 0 To 1 without changing the curve's shape. This allows us to work with predictable percentages: 0 is the start, 1 is the end, and 0.5 is the parameter for the midpoint.
The following video by Andrew Heumann provides a clear, practical demonstration of this entire workflow.
Getting to Know Grasshopper: Curves and Surfaces
This video is a hands-on guide to working with curve parameters and the Evaluate Curve component in Grasshopper.
Watch the introduction to the core concept of a curve as a bent number line. Then, watch the essential segment from point along the curve. This section is critical. It shows how to use the Evaluate Curve component, why the initial domain is unpredictable, and how to reparameterize the curve input to get a predictable 0 to 1 domain. This is one of the most common and important workflows in Grasshopper.
Extracting Curve Properties
Once you have a curve, you can query it for its properties. The Curve > Analysis tab contains a rich set of tools for this.
Evaluate Curve(Eval): As seen in the video, this is the workhorse component. Given a parameter , it outputs the Point (P) at that location and the Tangent (T) vector. Your calculus background tells you that the tangent vector is the first derivative of the curve's position vector with respect to the parameter, . This vector is crucial for orienting geometry along the curve.Control Points: This component does the reverse ofNurbs Curve. It takes a curve as input and outputs the list of its control points. This is shown in the top part of the "Grasshopper definition for Nurbs Curve" image we saw earlier.End Points: A simple utility to get the start and end points of a curve.Curve Length: Measures the total arc length of the curve.
This article from Parametric by Design provides a detailed written guide to these concepts, which you can use as a reference.
Curve and surface parameters - parametric by design
This article dives deep into the theory and practice of curve parameters, domains, and reparameterization.
Read through the section on Curve Domains to solidify your understanding of how domains are structured. Then, focus on the sections Working with curve parameters and Reparameterize curves, which reinforce the Evaluate Curve and reparameterization workflow. Finally, read the short section on Curve parameters and lengths to understand the important distinction between the curve's parameter space and its physical length.
A Complete Workflow: Deconstruct, Modify, Reconstruct
A common parametric workflow involves deconstructing an object, manipulating its constituent parts, and then reconstructing a new object from the modified parts.
Try to visualize this process:
- Start with a curve in Rhino and reference it into Grasshopper.
- Use the
Control Pointscomponent to extract its control points. - Isolate one of these points (for example, using a
List Itemcomponent). - Use the
Movecomponent to translate this point with a vector (revisiting the previous lesson). - Replace the original point in the list with this new, moved point.
- Use a
Nurbs Curvecomponent to create a new curve from this modified list of control points.
By putting a Number Slider on the Move vector's amplitude, you have now created a simple parametric system where you can dynamically alter the shape of a curve. This loop—deconstruct, modify, reconstruct—is at the heart of much of what you will do in Grasshopper.
Conclusion
In this lesson, we bridged the mathematical theory of parametric curves with their practical application in Grasshopper. You now have the tools to both generate curves from data and analyze them to extract meaningful geometric information.
Key takeaways:
- Curves in Grasshopper are primarily NURBS curves, which are mathematically defined by control points, degree, and a domain.
- We can construct curves from points using components like
Polyline,Interpolate Curve, andNurbs Curve. - We can deconstruct curves to extract their
Control Points,End Points,Length, andDomain. - The
Evaluate Curvecomponent is the key analysis tool, allowing us to find the point and tangent vector for any parameterton the curve. - Reparameterizing a curve's domain to
0 To 1is a crucial and standard workflow for achieving predictable control.
So far, we have been creating geometry from scratch within Grasshopper or drawing it live in Rhino for one-time reference. In our next lesson, we will explore a more robust workflow: how to create a persistent link to existing geometry in your Rhino file, allowing your Grasshopper definition to parametrically manipulate objects that are part of your main design model.