Translating code from Mathematica to Processing?

Is there an easy way to translate Mathematica code to Processing code? Apart form learning Mathematica, of course ;)

Answers

  • Answer ✓

    To my knowledge, no.

  • Since Mathematica is backed with MILLIONS of lines of algorithmic code, it depends on what you are trying to do. Generally, the answer is certainly no. However, you might learn how to use the JLink libraries provided by Wolfram Inc to call the mathematica kernel from Processing and translate the result into something useful in your sketch. That is possible, in theory, though I haven't tried myself yet. According to the documentation for JLink you can go the other way as well, and call some Java code (like processing) from Mathematica. Depending on your intent, this might be what you want to do.

Sign In or Register to comment.