{"p":"","h":{"iv":"ROXSYW+cfvEbFHu5","at":"ocxplSQjdRC3tXEtB/9/wg=="}}

kandid

@madskjeldgaard Morphological Operators

This operator looks at the pixels in its immediate neighborhood.
For example, if it sees that one of its neighboring pixels has a light color, it sets its pixel to that color.

So first draw the much too thin looking lines on the black background. Then in a subsequent pass apply the "dilate" operator to the image.

Often you have several passes dilate → dilate → erode → blur

source for OpenFrameworks
gitlab.com/metagrowing/ana/-/b

1
Share
Share on Mastodon
Share on Twitter
Share on Facebook
Share on Linkedin
Mads Kjeldgaard

@kandid This is incredibly helpful. Thank you so much!! I will try messing with your suggestions and report back <3

2
2y
Replies