How to fill shape with generative work

edited July 2016 in How To...


I have coded a generative pattern that works when on mouse clicked (pattern grows from the mouse clicked position) but I would like it to be restrained within a random shape, say the shape of a person or a dog, the space around is black but the shape of the person/dog would be fillable with the generative pattern,

Ive tried merging my code with some shape fill examples but I couldn't get it to work, Is there a way to do this without having to rewrite everything?




Sign In or Register to comment.