Okay, so I wanted to mess around with hexagrams, you know, those cool six-lined figures from the I Ching. I’ve always been a little curious about them, so I figured, why not try drawing some myself?
Getting Started
First, I needed a way to actually make the hexagrams. I thought about doing it by hand, but that seemed tedious. I wanted something I could quickly generate and change.
So, my natural solution, open up my coding space.

The Process
I used a programing language.
Here’s how I set things up:
- Solid Line: Represented by “1”
- Broken Line: Represented by “0”
With this simple system, I could create any hexagram by just combining six 1s and 0s.
Then I use the code print the result on my screen.

Experimenting with Hexagrams
I started by generating a few random hexagrams, just to see what would pop up. It was pretty neat to see the different combinations and how quickly I could create them.
Here’s the result of my hexagram:
Wrapping Up
This was a fun little project! It was a cool way to get a feel for the visual aspect of hexagrams, without getting bogged down in the complexities of divination and interpretation. Just pure, simple shapes, created with a dash of code.