Forums > Jitter

Expr + Java function

June 13, 2007 | 1:56 pm

I’ve written a Bessel function in Java and I want to call it in expr, is this possible? I’m using expr in a Matrix to create a Chladni pattern. The Bessel function use’s the coordinate r. Thanks.


June 13, 2007 | 2:27 pm


June 13, 2007 | 8:02 pm

Ahh thanks.

Let me explain further.

I have allready created a Bessel function in Java using mxj. As Expr doesn’t have a Bessel operation I want to call the Bessel function I created using Expr and apply it to the matrix…

Something like this…

expr (mxj Bessel(in[1] * norm[1])) * sin(in[2] * PI * norm[0])

I’ve looked in the help file and from JCs advice I dont think I can do this..

So instead I’m thinking of editing expr and adding a BesselFunction or do the arithmatic on the Matrix in Javascript. What do you suggest? I’m pretty new at this so I just want some feedback on my ideas.


Viewing 3 posts - 1 through 3 (of 3 total)