Generative Art - Drawing Circles

Generative Art - Drawing Circles

My journey into generative art using Processing and R. Creating beautiful circular patterns through code and exploring the intersection of programming and visual art.

โ€ข By Ehsan Pourhadi โ€ข
Generative Art Creative Coding

Okay so, recently Iโ€™ve been messing around with generative music in Propellerhead Reason (mostly as a form of procrastination, letโ€™s be honest ๐Ÿ˜…). It started as a โ€œletโ€™s just see what happensโ€ experiment and turned into a surprisingly fun rabbit hole.

You can actually hear one of my chaotic little audio creatures here:

(yes, thatโ€™s one of my generative music tests โ€” donโ€™t judge me ๐Ÿ˜ฌ)


From Music to Visuals ๐ŸŽถโžก๏ธ๐ŸŽจ

After spending way too many nights tweaking synth patches, I started thinkingโ€ฆ what if I did the same thing visually? Like, generative art but for my eyeballs instead of my ears.

So I did what any normal person would do: opened ten browser tabs, fell into a GitHub hole, and discovered people making wild generative visuals in R, Go, and Python.

And wow. The stuff people do with just a few lines of code is ridiculous.


Setting Things Up (a.k.a. The Java Saga)

Naturally, I decided to try it myself. Installed R. Then installed Processing 3 on my Mac. Andโ€ฆ yeah, that was a disaster. ๐Ÿ™ƒ

Processing 3 and Java apparently have beef, because nothing worked. After a few hours of debugging (and a small existential crisis), I rolled back to Processing v2 and โ€” hallelujah! โ€” it worked.

Circles appeared! Pretty ones!

Honestly, at that point, I didnโ€™t even care how it worked. I just wanted to make cool visuals and pretend I was an algorithmic artist.


The Results (woohoo! ๐ŸŽ‰)

Hereโ€™s a few of the patterns I made:

Circular generative art with overlapping patterns Complex overlapping circles that look like theyโ€™re plotting something

Simple circular pattern Minimalist and chill

Geometric circular design Geometric perfection vibes

Organic circular pattern Kinda flowy, kinda alive

Dense circular pattern Dense and slightly overwhelming (like my brain on coffee)

Radiating circles Sunburst-y and dramatic

Nested circles Like circles inside circles inside circlesโ€ฆ

Dynamic circular composition Looks like it might start spinning if I stare too long


What I Learned (aka why circles are secretly deep)

๐Ÿ’ก The Beauty of Algorithms

Even though it was all circles, every image turned out so different. Like:

  • Precise math vs. random chaos
  • Dense complexity vs. clean minimalism
  • Overlapping madness vs. perfect geometry

Itโ€™s wild how much personality a few lines of code can have.


๐Ÿง  Processing vs. R

So I played around with both:

  • Processing โ†’ felt way more natural for visuals. You draw, you tweak, you see results instantly.
  • R โ†’ more technical but sooo good if you want mathematical control.
  • Both communities are super active and helpful (thank you, random forum strangers ๐Ÿ™).

๐ŸŽจ Creativity Through Constraints

Hereโ€™s the funny thing โ€” when I limited myself to just circles, I got way more creative. Like, weirdly so.

By only tweaking stuff like:

  • size
  • opacity
  • color gradients
  • how they overlap or intersect
  • little position algorithms

โ€ฆI ended up with endless variations. Turns out โ€œless is moreโ€ actually works sometimes (who knew?).


My Tech Setup (for the curious nerds ๐Ÿ‘ฉโ€๐Ÿ’ป)

What worked:

  • Processing 2 (donโ€™t ask me about v3 ๐Ÿ˜ฉ)
  • Basic geometry functions
  • Simple random() stuff
  • Layer blending (chefโ€™s kiss)

My super scientific process:

  1. Draw a circle.
  2. Randomize everything.
  3. Go โ€œhmm, interesting.โ€
  4. Add color + opacity.
  5. Layer it a bunch until it looks artsy.
  6. Screenshot it before it breaks.

Why I Love Generative Art ๐Ÿ’–

Itโ€™s that element of surprise. You give the computer rules, and it goes, โ€œcool, but what if I did this instead?โ€

Youโ€™re not making the art โ€” youโ€™re collaborating with the algorithm. Itโ€™s half you, half the machine, and 100% unexpected.

Every image feels both planned and chaotic at the same time. Like art with a mind of its own.


So yeah โ€” what started as a music experiment turned into me falling in love with algorithmic circles.

Who needs perfection when you have randomness, right? ๐Ÿ˜‰

(P.S. If youโ€™ve made generative art, please share! I love seeing what other curious nerds create โค๏ธ)

Tags: #Processing #R Programming #Generative Art #Visual Art #Creative Coding
TreeStone
Running cat