I did not find a dotnet word cloud implementation that draws inside svgs, so I decided to try this in gamma. ok works so far, bounding boxes for each character would make it more accurate. but how the hell do I do something like this:
Is there a way to convert text to polygon and then do a hittest? very expensive.
Or create pixel data of the word and then use a CS to pipet for each pixel?
They have to use something smarter than this…
Maybe search for “packing algorithm” or “polygon packing”.
Another idea off the top of my head (don’t know if it is viable at all): Use (2D) physics, e.g. a force pulling all objects together.