DEV Community

Discussion on: Deconstructing Art: Learning From Constraints

Collapse
 
madsstoumann profile image
Mads Stoumann

Thank you! ... And that's the wonderful thing about art – everybody has their own preferences!

I've coded more than 10 art-generators now, and it's great fun. It's super-inspiring to code an idea visually, break it up, randomize everything – and reconnect the dots. I ordered two of my "paintings" from a "print-to-canvas"-service:

print-to-canvas

Working with dynamic colors, I've also tried to use the new color-contrast() in CSS (only in Safari currently), for some interesting, but a11y-compliant, effects with text.

Collapse
 
grahamthedev profile image
GrahamTheDev

You should turn the generators into a proper site and connect with a printing service API - I am sure there are many people would like some abstract art that is unique to them who aren't tech savvy enough to do it themselves!

Thread Thread
 
madsstoumann profile image
Mads Stoumann

Could be fun to do a service, where people – in a room in their house – via AR or image-upload can get a piece of random art, that will actually match the colors in the room. I need more time! ;-)

Thread Thread
 
grahamthedev profile image
GrahamTheDev

Start with a Minimal Viable Product and add that feature later, it is actually really easy to grab the colours from an image though if you don't mind a large(ish) library - lokeshdhakar.com/projects/color-th....

Thread Thread
 
madsstoumann profile image
Mads Stoumann

Exactly - I looked into Color Thief the other day as well!
If I just want one main color, the small script that I wrote for Image Energy Calculation, will do the work. It returns the average percentages of R, G and B– and the percentage-format works just fine: rgb(40%, 66%, 33%). But again, I need more time!!!