{"id":20164724,"url":"https://github.com/nourmorsy/polargraph-machine","last_synced_at":"2026-05-30T20:31:36.800Z","repository":{"id":212571898,"uuid":"726681933","full_name":"nourmorsy/Polargraph-machine","owner":"nourmorsy","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-02T16:37:39.000Z","size":7007,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-03T03:14:45.705Z","etag":null,"topics":["arduino","processingjs"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nourmorsy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-03T03:59:53.000Z","updated_at":"2024-11-02T16:37:43.000Z","dependencies_parsed_at":"2023-12-15T02:33:04.478Z","dependency_job_id":"2303ec8c-228a-49e8-b390-b73a3cfce8be","html_url":"https://github.com/nourmorsy/Polargraph-machine","commit_stats":null,"previous_names":["nourmorsy/polargraph-machine"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nourmorsy/Polargraph-machine","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nourmorsy%2FPolargraph-machine","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nourmorsy%2FPolargraph-machine/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nourmorsy%2FPolargraph-machine/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nourmorsy%2FPolargraph-machine/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nourmorsy","download_url":"https://codeload.github.com/nourmorsy/Polargraph-machine/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nourmorsy%2FPolargraph-machine/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33709269,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-05-30T02:00:06.278Z","response_time":92,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["arduino","processingjs"],"created_at":"2024-11-14T00:35:32.794Z","updated_at":"2026-05-30T20:31:36.778Z","avatar_url":"https://github.com/nourmorsy.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Polargraph Drawing Machine\n\n## Project Overview\n\nThe Polargraph Drawing Machine is a programmable device that translates digital images into physical drawings on surfaces of any size, using stepper motors to control the movement of a pen via tensioned wires. This project is ideal for educational demonstrations, art installations, and interactive teaching, offering flexibility in drawing any image on various dimensions.\n\nFor more details:\n- **[Detailed Report](./202104091545%20Plotter%20Drawing%20Robot-converted.pdf)**\n- **[Presentation](./polargraph-final-presentation.pptx)**\n\n---\n\n## Components\n\n- **Arduino MEGA**\n- **L293D Motor Drive Shield**\n- **L293D Motor Drive IC**\n- **2 x 17 Stepper Motors**\n- **MG90S Servo Motor**\n- **GT2 Pulley (16 Teeth)**\n- **5M GT2 Rubber Belt**\n- **12V Power Supply**\n- **5V/3.5A Adapter**\n\n---\n\n## Project Phases\n\n### Phase 1: Monochrome Image Drawing\nThe goal of the first phase is to draw a single-color image on a specific surface.\n\n#### Steps:\n1. **Hardware Design**: Using the [3D plotter design](https://www.thingiverse.com/thing:2371117/files) on Thingiverse, printed in plastic.\n2. **Wiring Setup**: Connect stepper motors and the servo motor to the motor drive, attach the drive to the Arduino, and connect the motors using the rubber belt.  \n   \u003cimg src=\"./Polargraph-scematic.png\" alt=\"scematic\" width=\"500\"\u003e\n\n4. **Image Processing**: Convert the selected image to grayscale, then to SVG format.\n5. **Software**: Using [Processing](https://processing.org) software and Euphy's motor and servo controller code ([GitHub repository](https://github.com/euphy/polargraphcontroller/releases/tag/2017-11-01-20-30)), upload the SVG to generate vector path points and send these to the microcontroller.\n\n#### Phase 1 Output:\n\u003cimg src=\"./images/first_phase/2.jpeg\" alt=\"1\" width=\"500\"\u003e\n\n---\n\n### Phase 2: Full-Color Image Drawing\nIn this phase, the objective is to draw a full-color image using four primary colors. By applying the CMYK model (Cyan, Magenta, Yellow, and Black), four pens are used to layer each color and create the final multicolor image.\n\n#### Steps:\n1. **Image Splitting**: Use the Death2Sharpie algorithm to split the image into CMYK channels.\n2. **Pen Setup**: Attach a corresponding color pen for each channel.\n3. **SVG Generation**: Convert each color layer to SVG format.\n4. **Processing and Drawing**: Insert each SVG layer into Processing to generate the path, then print each layer individually, manually switching pens for each color.\n\n#### Phase 2 Output:\n\n\u003cimg src=\"./images/second_phase/4.jpeg\" alt=\"1\" width=\"500\"\u003e\n\n---\n\n## Future Enhancements\n\nWe aim to automate the image preparation and color channeling process. Upcoming features include:\n\n- **Automated Channel Splitting**: A script to automatically split images into CMYK channels, convert them to SVG, and feed them into Processing.\n- **Automatic Pen Switching**: Hardware integration to switch pens without manual intervention.\n- **Neural Style Transfer**: Incorporate neural style transfer to apply artistic styles to images before drawing.\n\nThis project is evolving to offer greater automation, efficiency, and artistic possibilities.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnourmorsy%2Fpolargraph-machine","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnourmorsy%2Fpolargraph-machine","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnourmorsy%2Fpolargraph-machine/lists"}