# Can I make a programmable source follows its specified camera?

**URL:** https://discourse.paraview.org/t/can-i-make-a-programmable-source-follows-its-specified-camera/4680
**Category:** ParaView Support
**Tags:** python
**Created:** [June 25, 2020, 1:53pm UTC](https://discourse.paraview.org/t/can-i-make-a-programmable-source-follows-its-specified-camera/4680 "2020-06-25T13:53:17Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Mayakruha](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/m/ba8739/32.png) [@Mayakruha](https://discourse.paraview.org/u/Mayakruha)
#### Post date: [June 25, 2020, 1:53pm UTC](https://discourse.paraview.org/t/can-i-make-a-programmable-source-follows-its-specified-camera/4680/1 "2020-06-25T13:53:17Z")

</div>

Hi

I wrote a code for programmable source that creates vtkPolyData. I need the object rotates around a axis (point) itself to follows a specified camera like vtkFollower. Can I do it in Paraview for the programmable source? Maybe in the Python shell?

Best regards,  
Alexey

Best regards,  
Alexey

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [June 26, 2020, 2:20am UTC](https://discourse.paraview.org/t/can-i-make-a-programmable-source-follows-its-specified-camera/4680/2 "2020-06-26T02:20:09Z")

</div>

Is the model moving over time and you want to follow it ? Or do you want to move the camera only ?

---

<div class="post-metadata">

### Author: ![Mayakruha](https://discourse.paraview.org/letter_avatar_proxy/v4/letter/m/ba8739/32.png) [@Mayakruha](https://discourse.paraview.org/u/Mayakruha)
#### Post date: [June 26, 2020, 9:07am UTC](https://discourse.paraview.org/t/can-i-make-a-programmable-source-follows-its-specified-camera/4680/3 "2020-06-26T09:07:07Z")

</div>

I have 3D body with data field and I need to draw annotations with comments for fields. Paraview’s text source allows it - it has option “Flagpole Actor”. But Paraview’s text source doesn’t have option for background and color of a line is white. So I decided to write Programmable source that draws an annotation with background and different line colors. But I can’t find solution how I can make the annotation to rotate like Paraview’s text source with option “Flagpole Actor”.
