Half Circles Grasshopper pattern: square grid of half circles in different orientations

Half Circles

Random half circle tile pattern

A square grid of half circles in different orientations that combine into a playful tile pattern.

Want all 53 patterns? Get them in one zip →


Price

Free

Plugins

None, native components only

Works with

Rhino 7 & 8, Mac and Windows

Level

Beginner

Inputs

Reference in Rhino

Surface

The surface the tiles are built on. It must be a planar (flat) surface.

Main Sliders

SliderWhat it changesDefault
Columns
Rows
The number of tiles across and up the surface.9
12
Circle size (%)The diameter of the half circles, as a percentage of the tile’s shorter side.95
Edge offsetHow far each tile is shrunk inward before the half circles are cut. This sets the gap between neighbouring half circles.0.05

Also try: change the seed of the Random component to get a different arrangement of half circles.

Notes

  • Each tile gets two half circles facing each other. They sit on two opposite sides of the tile, and the script picks at random which pair of sides. Where two neighbouring tiles both use their shared side, the two halves read as one full circle split by a thin gap.
  • Keep the tiles square for an even look. The circle size follows the shorter side, so in long tiles the half circles on the short sides sit far apart. Set Columns and Rows in proportion to your surface.
  • The gap between neighbours is twice Edge offset. Every tile is shrunk by that amount on all sides, so where two half circles meet across a shared side, both are pulled back from it.

Design Logic

How the script builds the pattern, step by step.

Half Circles Grasshopper script on the canvas
The whole script on the Grasshopper canvas. Open full size ↗
StepHow the script does it
1. Split the surface into tilesDivide Domain² and Isotrim cut the surface into a grid of small rectangles.
2. Pick two opposite sides of each tile at randomBrep Edges takes the four sides of each tile. Tree Statistics and Random make one random number per tile, and List Item uses it to pick a side and the side opposite it.
3. Size the circlesLength, Sort List and List Item find the shorter side of each tile. An Expression takes Circle size (%) of it and halves it to get the radius.
4. Draw a circle on each chosen sideCurve Middle finds the middle of both chosen sides. Evaluate Surface and an MD Slider get the plane of the surface, Plane Origin moves it to each middle point, and Circle draws a circle there.
5. Shrink each tileEvaluate Surface gets the plane of each tile and Offset Curve offsets the tile’s outline inward by Edge offset.
6. Cut the half circlesRegion Intersection keeps the part of each circle that falls inside its shrunk tile. Since the circle sits on the tile’s side, that part is a half circle.

Want to learn how to build scripts like this on your own? Check out the Grasshopper Pro course.

On this page

Related tutorial

Free to use, also commercially

Use and change this script in your own projects, personal or commercial.

Please don't re-upload or redistribute the file. If you share it, link to this page so people always get the latest version.

© Hopific

Something not working?

If a script throws an error or doesn't do what this page describes, tell me and I'll fix it.

Tell me →