Data Domains in Grasshopper

by Tuğrul Yazar | March 24, 2024 23:07

In this short tutorial[1], I am showing the essentials of data domains in Grasshopper. A domain is a data type in Grasshopper that represents a portion of the 1d or 2d number space. This requires a starting and ending point in those spaces. In 1d, these points are two numbers. Then, the domain represents all the numbers between them. In 2d, a data domain is represented by two coordinates (u, v). This presentation illustrates this concept with the area defined by the rectangle with two opposite corners at these two coordinates. Besides, I gave several examples from Grasshopper components that require domain data type.

This tutorial shows the fundamental utilization of data domains in Grasshopper’s parametric curve and surface operations. For example, when we reparameterize a curve, we remap its domain into another domain between 0 and 1. This is related to curve and surface evaluations and I find it useful in teaching the necessity of reparameterization in several design conditions. The animations show how Grasshopper calculates the parametric points on curves and surfaces. Therefore, we can extend the concept of data domains into its mathematical meaning. When we trim or extend a parametric curve, we change its domain according to the criteria we define. I hope I will be explaining these in my new book on design mathematics.

data domains in grasshopper

Above, you can watch the presentation on data domains in Grasshopper. However, if you want to support this website, would you consider being my Patreon? Here is the link to my Patreon page[2]. Thank you for your support which motivates me to work for the better.

Endnotes:
  1. tutorial: https://www.designcoding.net/category/education/tutorials/
  2. Here is the link to my Patreon page: https://www.patreon.com/Designcoding

Source URL: https://www.designcoding.net/data-domains-in-grasshopper/