Sitemap
ThaFresh

ThaFresh

First thing!

1 min readMar 2, 2018

First up is the project I most often thought ‘It would have been nice if id finished that thing off’, so here it is.

http://trump.12thingsin12months.com/

Get ThaFresh’s stories in your inbox

Join Medium for free to get updates from this writer.

The original POC handled the task queue & api via some dodgy database polling which never felt quite right.

The image composition technique is based on an idea I’ve been kicking around for years in various iterations, this one’s been implemented in python and is surprisingly fast, like on better hardware it could do HD in realtime fast. Most of the time rendering here is spent encoding the mp4.

The task queue is now using python-rg which while basic has every single feature I hoped it would and makes it all extremely easy. I had started with celery but the complexity was killing progress.

Besides wasting a week trying to use docker for flask, celery, nginx & everything else then abandoning that, it all came together reasonably quickly.

Front end is via some pretty straight forward vue.js with the only fiddly bits being the canvas drawing object integration.

--

--