Codeable Bracelet!

by fablabbaltimore in Circuits > Art

3850 Views, 48 Favorites, 0 Comments

Codeable Bracelet!

IMG_0410.JPG

This bracelet design is generated by Processing and has blocks of code that can be commented in and out to change its appearance. Click and drag to draw designs in the bracelet! Pressing 'a' saves a file ready for the Universal Laser Cutter.

Processing

2015-03-12 16_27_09-lasercutbracelets _ Processing 2.2.1.jpg

You will need to download Processing at https://processing.org/ to work with this code. Once it's downloaded and installed, download the lasercutbracelets.pde file and open it in Processing.

Commenting Out

2015-03-12 16_51_35-lasercutbracelets.jpg
2015-03-12 16_53_20-lasercutbracelets _ Processing 2.2.1.jpg
2015-03-12 16_57_30-lasercutbracelets.jpg

Scroll down to lines 98 and 99 of your code.

Delete the "//" before the lines and watch them turn blue. Hit Run.

Click and drag to make patterns on your bracelet.

Looks kind of messy right? Press escape, and go back into your code. Comment out lines 98 and 99 again by adding the slashes back in. Comment out the rectangle edge by adding a /* before the start of line 35, and a */ at the end of line 74. Press run and check out the circle mode.

Switch to rectangle mode: press Escape, go back to your code, and comment out lines 15-32 using /* */ again. Comment out line 102. Bring back lines 98, 99, and lines 35-74. Press "Run" to check out rectangle mode.

When you have a design you're happy with, press 'a' to save it as a PDF ready for your laser cutter!

Results

IMG_0407.JPG
IMG_0408.JPG
IMG_0410.JPG

We cut ours in circle mode using white leather, and they came out great!