Materials and Nodes
Dribbble generates .aco (swatch) schemes from any upload, that's great for archiving my favourite color schemes. To avoid headache and lowlevel python i've resorted to leeching the color values directly from the html, instead of decoding the .aco file. Currently the snippet creates cycles node materials from swatches using urllib and extracts it using regex. The idea is to keep things simple in the event that dribbble changes their html. This will facilitate using cool palettes to generate abstract visuals (but cycles only)But Wait! There is more!
The following version also creates primitive cubes and assigns them each a swatch colour.becomes