@frederik Thanks. Will have a look which type gives the best result. To use the actual font sounds like a good choice though. In Processing (where I made this animation first) I used SVG, but mainly because it's almost impossible to work with type in Processing. Curious which one is faster also.
@frederik Sorry for the late reply, I've been on vacation for a while.
It's a little rusty after so many days The main focus lays on "main_pool()"
"multiprocessing.Pool()" creates, in my 8core case, 8 separate processes (ignore the -1 in the code)
Then "p.map()" runs function "run()" 120 times (12 fps times 10 sec. from the settings)
but only 8 at one time. As soon as one process is finished it runs the next one.
it saves the images separately and can be stitched together into one gif with "exportGif()"
More in depth info can be found on: https://docs.python.org/3.4/library/multiprocessing.html
My example is only useful if the processes don't have to talk to each other. But on the ref page above should be other examples as well.
I'll post the result of my script in a few hours. Well the result in which I've used this method.
I figured out the problem: I was using the wrong version of Python when installing the package. Just so this isn't useless, I used this to help me check if the module was installed and accessible in Drawbot:
in drawBot there is not a api for this.
I could consider imageResoltion(path) returning the dpi
opening an issue: https://github.com/typemytype/drawbot/issues/215
typemytype created this issue in typemytype/drawbot
[proposal] add imageResolution(path)
The last thing will be to provide for the case where the points are in a continuous chain, like the <o>. I'm pretty sure I know what to do, and it shouldn't be that hard, but I have some other problems with the Crouwel code to fix first (all to do with graphing and finding valid paths—this whole project is forcing me to teach myself the basics of computer science as I go). I'll post the revised and extended code here when it's done.
@frederik of course i do. but my installation didn't have the vanilla/test folder apparently. perhaps the setup doesn't include this?
anyways, i manually copied the files to an appropriate location and now it's working.
you can load the image as an ImageObject and use it as a context to draw something, a pixel at a specific place.
im = ImageObject("http://f.cl.ly/items/1T3x1y372J371p0v1F2Z/drawBot.jpg")
fill(1, 0, 1)
rect(0, 0, 10, 10)
image(im, (10, 10))