2010/3/14 Rado <rki...@gmail.com>:
> Hello,
>
> I have the following simple http://www.math.uiuc.edu/~rkirov2/files/escher.py
> code in pure Python (using the python image library) that produces
> Droste effect pictures like this one 
> http://www.math.uiuc.edu/~rkirov2/files/spiral.jpg
> . I wrote the code over 2 years ago in java. Recently, I found
> mathematica implementation 
> http://blog.wolfram.com/2009/04/24/droste-effect-with-mathematica/,
> so I am wondering how to implement it more efficiently in Sage. The
> script above works but doesn't use any of the Cython speed-up, so it
> takes a minute or two for moderately sized images. Also if it gets
> fast enough to produce the images, one can make cool movies by adding
> an offset time variable.
>
> To learn more about the original picture by M.C. Escher that inspired
> it all you can read this article by H.W.Lenstra.
> http://www.ams.org/notices/200304/fea-escher.pdf.
>
> Rado
>
> PS. William told me how to call optimized complex functions, but I
> can't find the right syntax. Is it in the Sage manual?

If f is a symbolic expression, use g = fast_callable(f, CDF) to make a
fast verison.

William

-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to