Pyllotaxis algorythm masking. Brand identity dynamic logo

Hello everybody. I am a designer and i am working on a brand identity using processing. I created a pyllotaxis algorythm distributing small ellipses and used it as the main pattern of the system. I’d like to be able to mask it out to create shapes for a dynamic logo. For now i manually drew a black mask in photoshop and applied it to the sketch. But i’d like to be able to generate different masks like that in processing. How would you approach that?

I’ll share an image to help you undestand

In my head the sketch would be able to generate variations of a leaf form logo by hiding certain dots.

You might be able to use Signed Distance Fields to define your leaf pattern.

General idea:

  • For each point, check its distance to a primitive shape.
  • Check other primitives.
  • By keeping the lowest distance value, the shapes are essentially merged into a single object.
  • If the distance is negative, the point is inside the object.

(Inigo provides distance functions for a lot of different shapes on his site)

1 Like