กลับไปหน้ารวมไฟล์
caravaggio-a-drawing-machine-756360-en.md

Caravaggio: Where Algorithms Meet the Spirit of a Painter (A Drawing Machine)

Caravaggio is not just an ordinary Plotter; it's a project that seamlessly blends computer engineering and art. It transforms digital photographs into unique line drawings by continuously dragging a pen across paper until a complete image emerges.

From a DIY Concept to an "Artist Machine"

The genesis of this project was the desire to create a DIY Pen Plotter, a specialized printer that uses a pen for drawing. However, during development, this concept evolved beyond a typical printer, focusing instead on using "algorithms" to interpret photographs.

The main goal of Caravaggio is not merely technical precision in image reproduction, but the creation of art with the essence of freehand drawing, which possesses a delicate touch and charm that conventional Inkjet printers cannot replicate.


How it Works: The Synergy Between Software and Hardware

Caravaggio is designed with two main, precisely integrated parts:

1. Software Component: The Process of Thought and Line Creation

The heart of this artwork begins with a program written in C++, responsible for analyzing digital images (Image Processing).

  • Operational Logic: The program processes the light and shadow intensity of the image and then calculates a single continuous pen path that traverses various points to form the complete picture (Single Line Drawing).
  • Algorithm: This logic often references the principles of the Traveling Salesperson Problem (TSP) to find the most efficient and continuous path. The density of the lines varies according to the darkness of the original image; the darker a section, the more the algorithm directs the pen to loop within that area.
2. Hardware Component: The Robotic Arm that Crafts the Work

Once the path is determined by the software, the data is sent to the hardware to be rendered onto physical paper. Key components include:

  • Arduino UNO: Acts as the "brain," processing coordinate commands from the data file.
  • Adafruit Motor Shield: Drives electrical current to the Stepper Motors with precision, enabling smooth pen movement.
  • Sparkfun SD Shield: Since high-detail drawings require significant time and data, the SD Shield is used to store the pen's coordinate data, allowing the machine to operate autonomously without constant computer connection.
  • Stepper Motors: DC electric motors capable of rotating in very small angular increments (step-by-step), allowing precise, millimeter-level control of the pen's position on paper.

Installation and Practical Operation

Currently, Caravaggio is set up to operate vertically on an Easel, mimicking the posture professional painters use to create their works. The pen moves by sliding across the surface of the drawing paper without lifting until the drawing is complete.

Operating Time: The meticulousness of this machine comes with a time investment. Generally, it takes approximately 12 to 24 hours per image, depending on the line density selected by the user. The more contrast or dark areas (Black concentration) desired in an image, the longer the drawing time will be, as demonstrated in the videos below.

Another impressive feature is the device's flexibility. Caravaggio can be used with various types of pens, from expensive Technical Pens to ordinary Bic ballpoint pens, still yielding excellent results.


Follow Our Progress

You can follow updates and new works from this project on our Facebook page: https://www.facebook.com/CARAVAGGIOdm/

Below are videos demonstrating the machine in action. The first video showcases the current, complete version, and the second marks the project's beginning:

My father's portrait, through the eyes of Caravaggio, a Drawing Machine. Video by: Marco Tronconi
Caravaggio during its early development

Caravaggio Artwork Gallery

ข้อมูล Frontmatter ดั้งเดิม

title: "Caravaggio, A Drawing Machine"
description: "Caravaggio is a drawing machine able to replicate a digital image using a pen and a continuous line."
author: "michele1993"
category: "Motors & Robotics"
tags:
  - "image processing"
  - "art"
  - "drawing machine"
views: 44480
likes: 93
price: 2450
difficulty: "Intermediate"
components:
  - "1x Toothed belt and pulley"
  - "1x Adafruit Motor Shield V2"
  - "1x Arduino UNO"
  - "1x SparkFun microSD Shield"
  - "2x NEMA 17 Stepper Motor"
tools: []
apps:
  - "1x OpenCV"
  - "1x Arduino IDE"
  - "1x GSL (GNU scientific library)"
downloadableFiles: []
documentationLinks: []
passwordHash: "d0e64250504d34f8dcb803283ee8e58c9ac5ae1b99122460138c31d1fe3662a9"
encryptedPayload: "U2FsdGVkX18bAySHaHmUUsn9JmlpV+PjVMnVPSlsyuMj0gL4d2PtYQc6k9gXRwfRN8b2QMGJg8MP9AUUDy1PD5lETuF4QwbR7P/ah1LRe1Qav06A32ahNCQ7jhWEdCG0lj9KlnQ3RbNagadEXB3mEcwMSzBKq3vSx8J0pW1b9XA="
seoDescription: "Caravaggio is a Drawing Machine that replicates a Digital Image using a Pen and a Continuous Line for Arduino art projects"
videoLinks:
  - "https://player.vimeo.com/video/204845485"
  - "https://www.youtube.com/embed/QM2YdCWRQ70"
heroImage: "https://cdn.jsdelivr.net/gh/bigboxthailand/arduino-assets@main/images/projects/caravaggio-a-drawing-machine-756360_cover.jpg"
lang: "en"