Watch the course tutorials here:
What is the course about?
In this course we will be exploring the power of Chat GPT as a tool to use alongside Grasshopper. Chat GPT is an artificial intelligence language model designed to engage in conversational interactions and generate human-like responses based on the input it receives. It’s a powerful tool that can be used to assist us in making our work in Grasshopper simpler and quicker, and there are a couple of ways we can make full use of it: It can be used to give step-by-step instructions on how to setup our work in Grasshopper, but is at its most powerful when used to write code.
This course will examine both, with a larger focus on creating iterative growth algorithms hard coded by Chat GPT in the Grasshopper C# scripting component. We will test fractal tree algorithms, differential growth curves, cellular automata and boids flocking simulations to better understand how we can use Chat GPT as a coding companion in algorithmic design.
What will you learn in each video?
- 5 tutorials
- 1hrs, 59 minutes
- No extra plugins needed
Chat GPT essentially works by asking conversational prompts and questions. We will begin the course by examining how Chat GPT can guide us with simple Grasshopper tasks, such as a the creation of a simple attractor algorithm, and evaluate its accuracy and effectiveness. We will then examine a more advanced workflow that allows us to auto-generate Grasshopper Components with Chat GPT.
Chat GPT is at its most powerful in Grasshopper when used in a programming environment, like Python or C#. We will explore the basics of prompting Chat GPT to provide us with C# code we can copy and use inside a C# Grasshopper component. More specifically, we will ask Chat GPT to create a Fractal Tree algorithm for a C# Grasshopper component.
In this lesson we’re going to set some guidelines for some best-practice approaches to prompting Chat GPT correctly. Chat GPT can often give us incorrect answers, which can be frustrating, but this is partly due to our inflated expectations of its ability, and what we are prompting it with. We will set some guidelines for prompting Chat GPT to assist in Grasshopper that will enable us to iteratively build up a complicated coding problem for a differential growth algorithm.
In this lesson we’re going to take a deeper dive into how we can create complex algorithms from nothing using Chat GPT and the C# scripting component in Grasshopper. We’re going to take a look at a 3D Cellular Automata algorithm, which is a discrete computational system that relies on a series of rules defined by a neighbourhood of cells. We’re going to start by asking Chat GPT for a baseline 3D Cellular Automata code, before slowly building up complexity in this algorithm by guiding & prompting Chat GPT to add extra features as we go along.
In this lesson we’re going to continue looking at some complex simulation & growth algorithms, particularly in terms of how we can leverage the power of Object-Oriented programming by using Chat GPT as a coding tool. We’re going to take a look at Craig Reynold’s Boids theory, which is a computer program that attempts to simulate the behaviours of flocks of birds through three key behaviours: separation, cohesion and alignment. We will ask it to get the base code working for us, and then ask it to iteratively add new behaviours to build up complexity and control in our outcomes.
What are the learning objectives for the course?
- Apply the process of prompting Chat GPT for step-by-step instructions for simple Grasshopper algorithms.
- Construct prompts for Chat GPT for C# code that can be used to create simple growth algorithms in a C# Grasshopper component.
- Have the ability to iterate on simple C# codes created by Chat GPT to build creative complexity into a base algorithm.
- Demonstrate an understanding of how to improve Chat GPT input prompts that will increase the accuracy and usefulness of the output that can be used in Grasshopper.