# Circular rotating disc shape

**URL:** <https://psychtoolbox.discourse.group/t/circular-rotating-disc-shape/4635>\
**Category:** Programming Help\
**Created:** [October 1, 2022, 8:08pm UTC](https://psychtoolbox.discourse.group/t/circular-rotating-disc-shape/4635 "2022-10-01T20:08:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sanjeev\_Nara](https://avatars.discourse-cdn.com/v4/letter/s/a587f6/32.png) [@Sanjeev\_Nara](https://psychtoolbox.discourse.group/u/Sanjeev_Nara)\
**Post date:** [October 1, 2022, 8:08pm UTC](https://psychtoolbox.discourse.group/t/circular-rotating-disc-shape/4635/1 "2022-10-01T20:08:26Z")

</div>

Dear Psychtoolbox Experts,

I am trying to create circular disc/pizza like shape with one missing slice (powerpoint demo attached for kind consideration) in pstchtoolbox. I would like to overlay this disc shape on an image and the shape will rotate with fixed angles to create an circular moving window like effect. I am not sure how to create such shape in psychtoolbox and rotoate it. I would appreciate any suggestion/ comments/ help in programming this.

Thanks

Best regards  
Sanjeev

 ![moving filter effect](https://global.discourse-cdn.com/free1/uploads/psychtoolbox/original/1X/0689e3bdb7a905250c3f4ecd8eb78ee89766975f.jpeg)

---

<div class="post-metadata">

**Author:** ![pscarfe](https://avatars.discourse-cdn.com/v4/letter/p/e8c25b/32.png) [@pscarfe](https://psychtoolbox.discourse.group/u/pscarfe)\
**Post date:** [October 4, 2022, 1:24pm UTC](https://psychtoolbox.discourse.group/t/circular-rotating-disc-shape/4635/2 "2022-10-04T13:24:12Z")

</div>

The demo at the following link could be easily modified to achieve what you want.

> **[Scarfe Lab: Research](https://www.peterscarfe.com/windowedRadialCheckerboard.html)**
>
> Pinegrow Web Editor - Shop TailwindCSS Template
