Share

Asymptote

Subscribe

Perl wrapper for Asymptote

  1. 2009-10-09 13:00:44 UTC

    Hello everybody. I wanted to announce that I've written a Perl module that allows you to send commands from Perl to a running copy of the Asymptote interpreter. The module is called Graphics::Asymptote. It also comes with another module named PDL::Graphics::Asymptote, which allows you to do your number crunching in PDL and pass the resulting vectors/matrices of data to Asymptote for final plotting. The module is very similar to the Python module mentioned in the docs and was originally based on that code. However, I may expand the module to allow for two-way communication with the interpreter... we will see.

    The module is pretty much geared towards people who already know how to use Asymptote, in that it provides a 'send' command and that's about it. There is some support for calling asymptote commands 'directly', but I find that this is usually more difficult to read than a simple send command. All of this is, of course, discussed in the docs.

    I'm uploading the module now to the CPAN, so I expect it will be available within the week. Any feedback would be appreciated. (Though I'll be monitoring this thread, I will not be monittoring this forum, so I'd appreciate if you could reply to this thread with any thoughts.)

    David

< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.