Yee electric field frame 252 I have finished the line-integral convolution (LIC) implementation as a DLM and cleaned it up a bit (see other articles for background). More work is needed, but it can give useful results now. The movie at the right took about six minutes to generate (300 calls with 300 by 300 images).

The API for the call is pretty straightforward. There are two required positional parameters u and v which are m by n float arrays (they must be float arrays right now). There is one optional keyword texture which can be set to a byte array the same size as u and v. It is useful to set TEXTURE to the same array for frames of a movie; there will be a lot of jitter if you don’t.

Installation is slightly more complicated than for IDL code. Grab the zip file, unzip it, and place the contents in the IDL path and the IDL DLM path. Start IDL and type:

IDL> vis_build_flow

You should be ready to go as long as your !make_dll system variable is set correctly (which is probably the case on normal Unix platforms, but only if you have installed the Developer Tools on Mac OS X or Visual Studio on Windows). I would be interested in people’s experiences trying to install this since I haven’t distributed a DLM on this site before.

I am going to package some visualization routines together with the vis prefix, but I’m waiting until I have a critical mass of useful routines before distributing the whole thing.

UPDATE: by the way, if you use VIS_LIC and can share your results, I would like to see any images made with it.