Blog
Portfolio
Sketches
Tag

Packing

2 posts
Tutorial
A Recursive Circle Packing Algorithm for Organic Growth Patterns

In this post we have a look at a simple algorithmic idea that can produce some very interesting organic looking patterns. At it's essence it's a circle packing strategy, but with the added twist that these circles are connected in a tree like structure. 🌳🦠

2023 JUL 15 · 18 min read
Tutorial
A Simple Solution for Shape Packing in 2D

Shape packing is a popular type of sketch in gen-art, but is often trickier than it might seem when you try to pack anything more complicated than a simple circle. In this post we'll have a look what goes into collision detection as well as a strategy to pack any arbitrary shape in 2D.

2022 JUL 22 · 21 min read
Recent
  1. Gorilla Newsletter 106
  2. Gorilla Newsletter 105
  3. Gorilla Newsletter 104
  4. Self-modifying Quines, new HTTP QUERY Method, and Loop Engineering
Popular
  1. A Recursive Circle Packing Algorithm for Organic Growth Patterns
  2. Getting started with P5JS
  3. Creative Coding: The New Era
  4. Bowyer-Watson Algorithm for Delaunay Triangulation

Stick around

Let's make
something!

Generative art and creative coding — tutorials, deep dives, and experiments from the jungle.

New posts straight to your inbox, no spam:

ExploreHomeBlogPortfolioSketchesArchiveOther Pages
TopicsTutorialsGuidesMaking OfInterviewsNewsletter
FollowTwitter / XInstagramGitHubRSSEmail

© 2026 Gorilla Sun · Made with code & curiosity.

Written by Ahmad Moussa