I Wrote An Algorithm That Scribbles Drawings Using A Single Line | Bored Panda
Bored Panda works better on our iPhone app
Continue in browser

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

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.

## Audrey Hepburn

Notice the details of the hair and the sweater.

## 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.

## Quokka. The friendliest animal on this planet!

52Kviews

You May Like
Jilliana Kenmore
Community Member
6 years ago

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

Community Member
6 years ago

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

Luna Kittenwarrior
Community Member
6 years ago

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

Community Member
6 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.

Greg Machar
Community Member
6 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.

Jilliana Kenmore
Community Member
6 years ago

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

Community Member
6 years ago

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

Luna Kittenwarrior
Community Member
6 years ago

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

Community Member
6 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.