I am currently working on an application that uses a video projector to create an effect similar to a real laser. A really good example of what I'm trying to archive can be seen on Youtube here .
Basically this application should draw simple moving shapes of different colors. I have a pretty complicated setup using pycairo that allows primitives to go through a set of modifiers to change position, scale, and rotation. This provides more flexibility.
Unfortunately, pycairo seems rather slow when drawing dotted circles. I tried drawing 30 circles:
# setup, transforms...
It all looks like this . It is not capable of supporting 25 frames per second using 800x600 using Core2Duo.
Is there a faster way to draw circles? Quality is not a problem.
Thank you for your help!
source share