Categories
blog

Drawing test

…two posts in one day? I must be busy. : D

I’ve been playing around with python, pygame, and cairo (through pycairo) the last few days. I needed an environment to quickly prototype ideas (after discarding processing for various reasons). With the above mentioned combination I can quickly whip up interactive vector-graphic driven systems. The following video demonstrates a trivial algorithm for generating shapes that takes two parameters which are changed over time. It’s nothing special but took a trivial amount of time to implement with my new toys. Something interesting to look out for are the emergent shapes and waves as the parameters are changed.