{"id":4575,"date":"2015-02-10T16:30:36","date_gmt":"2015-02-11T00:30:36","guid":{"rendered":"https:\/\/blog.digilentinc.com\/?p=4575"},"modified":"2025-06-02T03:37:37","modified_gmt":"2025-06-02T10:37:37","slug":"light-painting-with-ws2812-leds","status":"publish","type":"post","link":"https:\/\/digilent.com\/blog\/light-painting-with-ws2812-leds\/","title":{"rendered":"How to Create Light Paintings with WS2812 LEDs"},"content":{"rendered":"<p>A friend of mine came into town for Christmas and I wanted to do some sort of photography project with him. A few months ago, there were\u00a0some pictures floating around the internet from Stephen Orlando, who took LEDs and attached them to a kayak paddle and kayaked around a lake, and through rapids. You can see his whole gallery here at\u00a0<a title=\"Motion Exposure Galleries\" href=\"http:\/\/www.motionexposure.com\/Galleries\" target=\"_blank\" rel=\"noopener\">Motion Exposure Galleries<\/a>.<\/p>\n<figure style=\"width: 800px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/www.motionexposure.com\/Galleries\/Canoe\/i-2vTPrjq\/4\/L\/DSC_2797-L.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"\" src=\"http:\/\/www.motionexposure.com\/Galleries\/Canoe\/i-2vTPrjq\/4\/L\/DSC_2797-L.jpg\" alt=\"Light Painting by Stephen Orlando\" width=\"800\" height=\"267\" \/><\/a><figcaption class=\"wp-caption-text\">Light Painting by Stephen Orlando.<\/figcaption><\/figure>\n<p>I wanted to do something similar. The first night wasn&#8217;t very organized. We went into the woods with just the LED strip, the chipKIT board (the uC32), and a battery. We didn&#8217;t like the result we got with just carrying the strip, so we found a stick and wrapped the strip around it. We just used the rainbow example sketch from Adafruit&#8217;s NeoPixels.<\/p>\n<figure id=\"attachment_5266\" aria-describedby=\"caption-attachment-5266\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-1.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-5266\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-1-600x399.jpg\" alt=\"This was the first good one we got on the first night and I think it's the best.\" width=\"600\" height=\"399\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-1-600x399.jpg 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-1-1024x681.jpg 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-1-225x150.jpg 225w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-1-800x532.jpg 800w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-1.jpg 2000w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-5266\" class=\"wp-caption-text\">This was the first good one we got on the first night and I think it&#8217;s the best.<\/figcaption><\/figure>\n<figure id=\"attachment_5267\" aria-describedby=\"caption-attachment-5267\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-2.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-5267\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-2-600x410.jpg\" alt=\"Through the woods.\" width=\"600\" height=\"410\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-2-600x410.jpg 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-2-1024x699.jpg 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-2-225x154.jpg 225w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-2.jpg 2000w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-5267\" class=\"wp-caption-text\">Through the woods.<\/figcaption><\/figure>\n<figure id=\"attachment_5269\" aria-describedby=\"caption-attachment-5269\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-4.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-5269\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-4-600x399.jpg\" alt=\"At the observatory.\" width=\"600\" height=\"399\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-4-600x399.jpg 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-4-1024x681.jpg 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-4-225x150.jpg 225w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-4.jpg 2000w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-5269\" class=\"wp-caption-text\">At the observatory.<\/figcaption><\/figure>\n<figure id=\"attachment_5270\" aria-describedby=\"caption-attachment-5270\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-5.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-5270\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-5-600x399.jpg\" alt=\"More at the observatory.\" width=\"600\" height=\"399\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-5-600x399.jpg 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-5-1024x681.jpg 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-5-225x150.jpg 225w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-5.jpg 2000w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-5270\" class=\"wp-caption-text\">More at the observatory.<\/figcaption><\/figure>\n<figure id=\"attachment_5271\" aria-describedby=\"caption-attachment-5271\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-6.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-5271\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-6-600x388.jpg\" alt=\"On the field of the stadium.\" width=\"600\" height=\"388\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-6-600x388.jpg 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-6-1024x663.jpg 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-6-225x146.jpg 225w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-6.jpg 2000w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-5271\" class=\"wp-caption-text\">On the field of the stadium.<\/figcaption><\/figure>\n<p>The second night, we thought it would be a good idea to attach the LED strip to something more solid than a stick we found in the woods. I wasn&#8217;t as happy with this set, but we did get some awesome pictures. My favorite one from both nights was the one in the &#8220;Zen Staircase.&#8221;<\/p>\n<figure id=\"attachment_5272\" aria-describedby=\"caption-attachment-5272\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-7.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-5272\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-7-600x313.jpg\" alt=\"Around the pond.\" width=\"600\" height=\"313\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-7-600x313.jpg 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-7-1024x534.jpg 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-7-225x117.jpg 225w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-7-800x417.jpg 800w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-7.jpg 2000w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-5272\" class=\"wp-caption-text\">Around the pond.<\/figcaption><\/figure>\n<figure id=\"attachment_5274\" aria-describedby=\"caption-attachment-5274\" style=\"width: 399px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-9.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-5274\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-9-399x600.jpg\" alt=\"In the &quot;Zen Staircase&quot;.\" width=\"399\" height=\"600\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-9-399x600.jpg 399w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-9-681x1024.jpg 681w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-9-150x225.jpg 150w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-9.jpg 1331w\" sizes=\"auto, (max-width: 399px) 100vw, 399px\" \/><\/a><figcaption id=\"caption-attachment-5274\" class=\"wp-caption-text\">In the &#8220;Zen Staircase&#8221;.<\/figcaption><\/figure>\n<figure id=\"attachment_5275\" aria-describedby=\"caption-attachment-5275\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-10.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-5275\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-10-600x237.jpg\" alt=\"On the train bridge.\" width=\"600\" height=\"237\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-10-600x237.jpg 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-10-1024x405.jpg 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-10-225x89.jpg 225w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-10.jpg 2000w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-5275\" class=\"wp-caption-text\">On the train bridge.<\/figcaption><\/figure>\n<figure id=\"attachment_5273\" aria-describedby=\"caption-attachment-5273\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-8.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-5273\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-8-600x298.jpg\" alt=\"Under the bridge\" width=\"600\" height=\"298\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-8-600x298.jpg 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-8-1024x509.jpg 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-8-225x112.jpg 225w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-8.jpg 2000w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-5273\" class=\"wp-caption-text\">Under the bridge.<\/figcaption><\/figure>\n<p>Here\u00a0are\u00a0a few pictures of the setup we used. The LEDs on the stick are different than the ones we actually used, they are a higher density. I want to try it again. with the higher density ones to see what it would look like. Overall, I was happier with the ones from the first night. The patterns were less predictable and I really liked the way there were breaks in the lights from some of the LEDs facing away from the camera.<\/p>\n<figure id=\"attachment_5276\" aria-describedby=\"caption-attachment-5276\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-11.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-5276\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-11-600x399.jpg\" alt=\"The stick.\" width=\"600\" height=\"399\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-11-600x399.jpg 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-11-1024x681.jpg 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-11-225x150.jpg 225w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-11.jpg 2000w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-5276\" class=\"wp-caption-text\">The stick.<\/figcaption><\/figure>\n<figure id=\"attachment_5278\" aria-describedby=\"caption-attachment-5278\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-13.jpg\"><img loading=\"lazy\" decoding=\"async\" class=\"size-medium wp-image-5278\" src=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-13-600x399.jpg\" alt=\"The whole level.\" width=\"600\" height=\"399\" srcset=\"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-13-600x399.jpg 600w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-13-1024x681.jpg 1024w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-13-225x150.jpg 225w, https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-13.jpg 2000w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-5278\" class=\"wp-caption-text\">The whole level.<\/figcaption><\/figure>\n<p>What have you been able to do with your WS2812 LED strip?<\/p>\n<div class='watch-action'><div class='watch-position align-left'><div class='action-like'><a class='lbg-style6 like-4575 jlk' data-task='like' data-post_id='4575' data-nonce='ee750c7abc' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Like' \/><span class='lc-4575 lc'>+1<\/span><\/a><\/div><div class='action-unlike'><a class='unlbg-style6 unlike-4575 jlk' data-task='unlike' data-post_id='4575' data-nonce='ee750c7abc' rel='nofollow'><img src='https:\/\/digilent.com\/blog\/wp-content\/plugins\/wti-like-post-pro\/images\/pixel.gif' title='Unlike' \/><span class='unlc-4575 unlc'>0<\/span><\/a><\/div><\/div> <div class='status-4575 status align-left'><\/div><\/div><div class='wti-clear'><\/div>","protected":false},"excerpt":{"rendered":"<p>A friend of mine came into town for Christmas and I wanted to do some sort of photography project with him. A few months ago, there were some pictures floating around the internet from Stephen Orlando, who took LEDs and attached them to a kayak paddle and kayaked around a lake, and through rapids. I wanted to do something similar. The first night wasn&#8217;t very organized. We went into the woods with just the LED strip, the chipKIT board (the uC32), and a battery.<\/p>\n","protected":false},"author":4,"featured_media":5266,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4327],"tags":[],"ppma_author":[4456],"class_list":["post-4575","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-projects"],"jetpack_featured_media_url":"https:\/\/digilent.com\/blog\/wp-content\/uploads\/2015\/02\/Light-Painting-1.jpg","authors":[{"term_id":4456,"user_id":4,"is_guest":0,"slug":"logansam","display_name":"Samuel Logan","avatar_url":"https:\/\/secure.gravatar.com\/avatar\/a023dae7f67e8827e8337e946311c2c3?s=96&d=mm&r=g","author_category":"","user_url":"","last_name":"Logan","last_name_2":"","first_name":"Samuel","first_name_2":"","job_title":"","description":""}],"post_mailing_queue_ids":[],"_links":{"self":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/4575","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/comments?post=4575"}],"version-history":[{"count":3,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/4575\/revisions"}],"predecessor-version":[{"id":31606,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/posts\/4575\/revisions\/31606"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media\/5266"}],"wp:attachment":[{"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/media?parent=4575"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/categories?post=4575"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/tags?post=4575"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/digilent.com\/blog\/wp-json\/wp\/v2\/ppma_author?post=4575"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}