Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Design Scripting
Design Scripting
  • Week 1: Python Basics
    • Expressions
    • Statements
    • Whitespace
    • Functions
    • Types, Part 1
  • Week 2: Collections, Objects, and Grasshopper
    • Collections
      • Sequences
      • Sets
      • Dictionaries
    • Objects
    • Python in Grasshopper
  • Week 4: Grasshopper (cont.), Using Packages
    • Grasshopper, Continued
    • Using Modules and Packages
      • typing: Advanced Type Hints
      • ghpythonlib.treehelpers: Using lists instead of trees
      • rhinoscriptsyntax: Helper functions for Rhino
      • Rhino: Python bindings of Rhino’s C# API
  • Week 5: Vectors and Grids
    • A Crash Course in Vectors
    • Working with Grids
      • Grasshopper Grid Components
      • Custom Grid Components
  • Week 6: Randomness and Grid Applications
    • Randomness in Python
    • Applying Randomness to Grids
  • Week 7: Designing an Algorithmic Process
    • Taking Inspiration from Square Kufic Calligraphy
    • Designing Assignment 3
  • Week 8: Iterative Rule Systems
    • Cellular Automata
    • Lindenmayer Systems
  • Week 9: Open-Source Libraries, and Another Iterative Design System
    • Using Open-Source Libraries
    • Wave Function Collapse

Assignments

  • Final Project
    • Topic Selection & Research
    • Implementation
    • Writeup
  • Assignment 0: CodingBat Setup
  • Assignment 1: Snap, Crackle, Pop!
  • Assignment 2: 2D Cubies Illusion
  • Assignment 3: Cluster Sprawls
  • Assignment 4: Elementary Cellular Automaton
  • Extra Credit: CodingBat

Resources

  • Helpful Functions
  • Type Hints Reference
Back to top
View this page

Week 2: Collections, Objects, and Grasshopper¶

Monday, Jan 13, 2025

This week, we’ll learn about collections and iteration, objects in Python, and Python in Grasshopper.

  • Collections
    • Sequences
    • Sets
    • Dictionaries
  • Objects
  • Python in Grasshopper
Next
Collections
Previous
Types, Part 1
Copyright © 2025, Russell Newton
Made with Furo