danbernier / WordCram

open-source word clouds for Processing
http://wordcram.org
Apache License 2.0
199 stars 53 forks source link

Make the Resulting Shape/Area accessible/pluggable #20

Open simpsus opened 11 years ago

simpsus commented 11 years ago
If the shape of WordCram could be accessed and given upfront, we could do two (or more) consequtive runs on the same output. With the new Color-aware shape based placer we would be able to something like this: http://browse.deviantart.com/art/Harley-Quinn-In-Text-209380962
danbernier commented 11 years ago

This will be so awesome. :sparkles: :metal: Let's get the ShapeBasedPlacer in there and ship-shape, and then do this.

danbernier commented 11 years ago

I was thinking about this - we could achieve this by making a bunch of WordCrams in the same sketch, from the same image, with different colors, but wouldn't it be just as simple to let users pass an array of colors? It'd be basically the same effect. (I'm just chewing on it in the back of my mind, as I finish the other stuff, so apologies if that makes no sense.)

simpsus commented 11 years ago

I am not sure what you mean, but I don't think this will do the trick. Surely we can get an array of colors and construct the shape from all these colors of the image, but the cool thing is that we layout different words where different colors are. In the example, we layout "red" where there used to be red and "black" where there is black. What we (imho) need to do here is to do one run with black and then another run with red on the shape that is the result of the run with black.