Code for Creating a Rectangular Loom Image from a Digital Image
Note: This is based on the code by shonklin (https://github.com/shlonkin/AutomatedArt). I have modfied it to use a rectangular shape instead of a circular one and have made it write ot a csv file. This is primarily for use within Tableau. I am not an experienced Java developer, so my code may not be the best or most elegant possible, but it works.
Original code had a version for Arduino, but I have removed that as I have only worked with the code for Processing.
To run this code, you'll need Processing (https://processing.org/download/). Open the PDE file in Processing, then follow the instructions in the file.
See the license file for licensing details.
Blog: https://www.flerlagetwins.com/2018/02/rectangular-loom-art-in-tableau_62.html
Allows you to create images like this: