Bored Panda works better on our iPhone app
Continue in app Continue in browser
BoredPanda Add Post

The Bored Panda iOS app is live! Fight boredom with iPhones and iPads here.

I Wrote An Algorithm That Scribbles Drawings Using A Single Line
356points
User submission
3.4K
52.3K
Art5 years ago

I Wrote An Algorithm That Scribbles Drawings Using A Single Line

In my free time, I develop algorithms that turn images into drawings. I say drawings because the results are always made with a single line or collection of lines of constant width that can also be drawn with a pen by a plotter. So in a way I try to follow great computational artist like Georg Nees and Frieder Nake that started to create artworks with plotters.

This style is one of my latest algorithms, it scribbles a drawing of any input image. The algorithm tries to understand the image and divides it into patches with different structures and tone similarities. While making the “drawing” the algorithm dynamically evaluates the image and adjust the drawing path according to the structures in the image (contours etc.) and the tone.

The result is a messy but adequate scribble.

More info: Etsy | Facebook

Audrey Hepburn

Notice the details of the hair and the sweater.

Female study

Female Study

Female study

This image is a really good example how the algorithm recognizes the border between the face and the shoulder. To emphasize this, the algorithm draws the background slightly darker where it meets the face and shoulders.

Scribble of a tiger

Scribble of a fox

Quokka. The friendliest animal on this planet!

52Kviews

Share on Facebook
Popular on Bored Panda
Write comments
Jilliana Kenmore
Community Member
5 years ago

"messy but adequate." are you KIDDING ME? That's fantabulous!!

Community Member
5 years ago

Thank you! This is the first time someone called my work fantabulous!

Load More Replies...
Luna Kittenwarrior
Community Member
5 years ago

I can't draw this with multiple lines, let alone one.

Community Member
5 years ago

The fact that it is only one line is just a byproduct. I was also thinking about spreading the ink like roots of a tree, but this will be a different style for later.

Load More Replies...
Greg Machar
Community Member
5 years ago

I don't have words to describe how I feel about this... ummmm... it is so good that it is hurting my brain. I don't really understand how you achieve this and I have a feeling I would still struggle with it after a comprehensive explanation lol... Bravo Sergei, bravo.

Load More Comments
Jilliana Kenmore
Community Member
5 years ago

"messy but adequate." are you KIDDING ME? That's fantabulous!!

Community Member
5 years ago

Thank you! This is the first time someone called my work fantabulous!

Load More Replies...
Luna Kittenwarrior
Community Member
5 years ago

I can't draw this with multiple lines, let alone one.

Community Member
5 years ago

The fact that it is only one line is just a byproduct. I was also thinking about spreading the ink like roots of a tree, but this will be a different style for later.

Load More Replies...
Greg Machar
Community Member
5 years ago

I don't have words to describe how I feel about this... ummmm... it is so good that it is hurting my brain. I don't really understand how you achieve this and I have a feeling I would still struggle with it after a comprehensive explanation lol... Bravo Sergei, bravo.

Load More Comments
Popular on Bored Panda
Popular on Bored Panda
User Submissions
Also on Bored Panda
Also on Bored Panda