# Applying Surface LIC plugin to velocity field

**URL:** https://discourse.paraview.org/t/applying-surface-lic-plugin-to-velocity-field/9514
**Category:** ParaView Support
**Created:** [April 26, 2022, 11:27am UTC](https://discourse.paraview.org/t/applying-surface-lic-plugin-to-velocity-field/9514 "2022-04-26T11:27:45Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![s195t](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/s/54ee81/32.png) [@s195t](https://discourse.paraview.org/u/s195t)
#### Post date: [April 28, 2022, 3:23pm UTC](https://discourse.paraview.org/t/applying-surface-lic-plugin-to-velocity-field/9514/3 "2022-04-28T15:23:37Z")

</div>

Thank you for your inputs!

What I could do in the meantime is to get a source plane in vtk with as many points as my matrix, get the points as a numpy array and then do operations on them.

Are there any examples on how to manipulate point data and shove it back in the vtkPolyData object then?

It seems that the LIC works on point data and not cell data, so maybe it has more sense to build the matrices with points, do the operations and then create the surface with like a Delaunay2D?

EDIT: [Programmable Source: Vorticity and gradient from numpy data - ParaView Support - ParaView](https://discourse.paraview.org/t/programmable-source-vorticity-and-gradient-from-numpy-data/3846)  
Something like that could maybe work, I can’t run the code yet, but seems like a good start

---

_[View the full topic](https://discourse.paraview.org/t/applying-surface-lic-plugin-to-velocity-field/9514)._
