{"id":408,"date":"2021-04-14T23:27:20","date_gmt":"2021-04-14T21:27:20","guid":{"rendered":"https:\/\/melvyn-perard.me\/?post_type=fw-portfolio&#038;p=408"},"modified":"2023-10-13T14:41:09","modified_gmt":"2023-10-13T12:41:09","slug":"dali-string-art","status":"publish","type":"fw-portfolio","link":"https:\/\/melvyn-perard.me\/en\/project\/dali-string-art\/","title":{"rendered":"Salvador Dal\u00ed String Art Portrait"},"content":{"rendered":"<div data-elementor-type=\"wp-post\" data-elementor-id=\"408\" class=\"elementor elementor-408\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-43c71ee elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"43c71ee\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-70e3ed1\" data-id=\"70e3ed1\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-98b10b5 elementor-widget elementor-widget-heading\" data-id=\"98b10b5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">The idea<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-b269b79 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"b269b79\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-d66d5fe\" data-id=\"d66d5fe\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d818337 elementor-widget elementor-widget-text-editor\" data-id=\"d818337\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p class=\"translation-block\">I already knew about \"string art\", the art of intertwining wire between nails to create figures, shapes or silhouettes. I then came across \"string art portrait\" by chance while doing further research. It uses the same principle, except that here, photos are reproduced thanks to the intertwining of threads which allows to recreate a photo by playing on the approach and the crossing of the thread to create the clear and dark zones of the photo. The lines are created from a single thread.<\/p><p class=\"translation-block\">So I continued my research and I found an algorithm on GitHub (a site where you can find a lot of open-source projects) allowing to transform any image into hundreds of lines arranged in a circle. So I did some first tests and I was quickly taken by the desire to see what it could give in real life.<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ea77dd3 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ea77dd3\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-04cb78a\" data-id=\"04cb78a\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-dc68446 elementor-widget elementor-widget-heading\" data-id=\"dc68446\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">The realization<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-41ab712 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"41ab712\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-c2bef39\" data-id=\"c2bef39\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f70360e elementor-widget elementor-widget-text-editor\" data-id=\"f70360e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p class=\"translation-block\">I had to find a way to transcribe the simulation of the algorithm so that I could reproduce the result. I analyzed the code of the algorithm made in python and by modifying a few lines, I managed to make it create a CSV file with the number of the nail where the thread is currently and the one where it must go. With this, I created a python interface to allow me to weave myself.<\/p><p class=\"translation-block\">My interface is designed to save me time. I had the idea to split the total number of nails in different zones with 6 colors each. It's visually easier to find your way around using colors rather than numbers.<\/p><p class=\"translation-block\">All that was missing was the support. I got a bicycle rim and hammered in about 200 nails.<\/p><p><span id=\"p128\">Finally, I was able to weave my first piece of art in 7 hours.<\/span><span id=\"p117\">\u00a0<\/span><\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>","protected":false},"featured_media":895,"template":"","fw-portfolio-category":[14],"class_list":["post-408","fw-portfolio","type-fw-portfolio","status-publish","has-post-thumbnail","hentry","fw-portfolio-category-personels"],"_links":{"self":[{"href":"https:\/\/melvyn-perard.me\/en\/wp-json\/wp\/v2\/fw-portfolio\/408","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/melvyn-perard.me\/en\/wp-json\/wp\/v2\/fw-portfolio"}],"about":[{"href":"https:\/\/melvyn-perard.me\/en\/wp-json\/wp\/v2\/types\/fw-portfolio"}],"version-history":[{"count":76,"href":"https:\/\/melvyn-perard.me\/en\/wp-json\/wp\/v2\/fw-portfolio\/408\/revisions"}],"predecessor-version":[{"id":1764,"href":"https:\/\/melvyn-perard.me\/en\/wp-json\/wp\/v2\/fw-portfolio\/408\/revisions\/1764"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/melvyn-perard.me\/en\/wp-json\/wp\/v2\/media\/895"}],"wp:attachment":[{"href":"https:\/\/melvyn-perard.me\/en\/wp-json\/wp\/v2\/media?parent=408"}],"wp:term":[{"taxonomy":"fw-portfolio-category","embeddable":true,"href":"https:\/\/melvyn-perard.me\/en\/wp-json\/wp\/v2\/fw-portfolio-category?post=408"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}