Generating Art for Backgrounds

Posted on 2021-08-04

Generating Art

I’m not a strong visual artist, but recently I needed to create a 2560x1440 image as a banner for my new Youtube channel. I decided it was best to try and program it rather than draw anything by hand.

My basic idea was to generate a pattern, then draw it many times with very low opacity, and move the key vertices very slightly on each drawing pass. These are generated using Javascript drawing to a HTML canvas.

Here are 3 variations on a simple triangulated mesh.

Code can be found in this gist. The script was hacked together quickly, it has rough edges.

I love abstract desktop backgrounds and I think I’ll continue to play with this idea for generating backgrounds.