Line Integral Convolution

From David's Wiki
Jump to navigation Jump to search

LIC Paper
The line integral convolution is a simple way to create a 2D visualization/image of a vector field.
This is good for visualizing circular flows in your vector field.
The primary drawback is that it can only visualize direction and not magnitude of the vector field.
The magnitude is often visualized using colors.


Basic Idea

  • Create a random image with the target resolution that you want.
  • For each pixel in the destination image, do a forward and backward walk using the directions in the vector field and with a fixed magnitude and total steps.
  • Output the average of the noise accumulated from the random image during your walk.

Animated

Use a sinusoidal kernel to weigh the noise you accumulate during your walk.