>>8121051Hey anon,
I liked your script idea, but it was messy... I cleaned it up quite a bit. Sorry if it's a bit confusing how I moved things around. At this point, the main thing is just implementing functions like create_diamonds_image. As it is, it's pointing to a basic function that loads the thing from disk (just like how you were saying TODO on them, I didn't do them either). They're listed in a dict of functions that generates a base image (greyscale, before text and color) based on the mode. If you want to add new modes, add an entry to that dict (within the _create_base_image function).
Also, I figured out that the 690 is based on the width between the midpoint of the triangles. The triangles are template height tall (540), and they're half of that wide (270). The midpoint of the triangle would be at 270 / 2 or 135. But there are two triangles, one on the left, one on the right; So we're back to 270. 960 - 270 = 690, which is where I think you got that 690 from. No fucking clue what orifice you pulled .385 out of, you're gonna have to figure that one out yourself.
I moved some of your dir structure around too to separate fonts from emblems from modes and I dropped some #'s from the directory names. You can add them back if you want to, I didn't find it necessary.
and I also fixed your multiprocessing/multithreading to make a bit more sense. Went from generating papes taking like 2 mins to about 1 second on my machine. I probably spent too much time on this, more than I should have. Also I left a bit of a mess with the memoize function crap before I realized that that shit is broken for multiprocess. So a lot of that is unnecessary but I'm getting lazy now.
I also wrote color everywhere instead of colour because I'm a dirty American.
Here's my update: filebin net ow14b4j07vd9brpj