Your Menger.py drawing is indeed heavy, with all that recursive drawing. However, running it under pypy 1.8 gave a somewhat better performance:
pypy: 1.17 fps
CPython: 0.84 fps
elegant_ball.py on the other hand, got much better framerate under pypy:
pypy: 13.76 fps
CPython: 3.89
Pyprocessing looks a lot better under pypy, doesn't it?
If you don't know to get pypy running on your system, please
see this.
cheers
On Thu, Apr 5, 2012 at 16:12, monkstone
<mamb...@gmail.com> wrote:
I have recently experimented with creating a menger in pyprocessing, opengl rendering performance is not really that great, so experimented with exporting the geometry as a mesh2 object which produces pretty impressive results see my blog.
--
Flávio Codeço Coelho
================
+55(21) 3799-5567Professor
Escola de Matemática Aplicada
Fundação Getúlio Vargas
Rio de Janeiro - RJ
Brasil