Ask Your Question

Revision history [back]

No, no idea what's wrong, but the following does work:

x = var('x')

def frame(i):
    g = plot(sin(i*x), (x, 0, pi))

P = [ p[1] for p in frame(range(1,FRAMES+1)) ]

p.s. parallel is awesome, but the documentation is sparse, and confusing, so keep the questions coming :) If you haven't found it yet, Trac ticket 11461 implements parallel for classes; I've been using it for a long animation project, and it works great!