# Add white noise to entire screen

**URL:** <https://discourse.psychopy.org/t/add-white-noise-to-entire-screen/43483>\
**Category:** Builder\
**Tags:** screen\
**Created:** [January 14, 2025, 12:38pm UTC](https://discourse.psychopy.org/t/add-white-noise-to-entire-screen/43483 "2025-01-14T12:38:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![itsdfish](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/itsdfish/32/43960_2.png) [@itsdfish](https://discourse.psychopy.org/u/itsdfish)\
**Post date:** [January 14, 2025, 12:38pm UTC](https://discourse.psychopy.org/t/add-white-noise-to-entire-screen/43483/1 "2025-01-14T12:38:54Z")

</div>

Hello,

I am creating an experiment that presents a variable number of shapes and would like to add static white noise on the entire screen, including during the inter-stimulus interval. I looked at a few other threads, including this [one](https://discourse.psychopy.org/t/simplest-way-to-add-static-random-noise-to-a-stimulus-letter/20743/5). There are several issues I am hoping to avoid with the approach used in that thread, such as manually writing large portions of the experiment.

My question is this: is there a way add static white noise to the entire screen after the shapes have already been displayed by injecting a few lines of code into the custom code component?

I am attaching a simplified version of the experiment to help describe what I am trying to achieve. Thank you in advance for your help.  
[noise\_shape.psyexp](https://discourse.psychopy.org/uploads/short-url/dvsrRDuSDNWPh2AMX51m2dLbtmB.psyexp) (13.5 KB)  
[noise\_shape\_lastrun.py](https://discourse.psychopy.org/uploads/short-url/tbtij8kmuysvohLyE1wpidLPbMH.py) (26.3 KB)

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [January 26, 2025, 7:08pm UTC](https://discourse.psychopy.org/t/add-white-noise-to-entire-screen/43483/2 "2025-01-26T19:08:38Z")

</div>

Are any of these noise options any good?

[https://run.pavlovia.org/Wake/etemp/](https://run.pavlovia.org/Wake/etemp/)

---

<div class="post-metadata">

**Author:** ![itsdfish](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/itsdfish/32/43960_2.png) [@itsdfish](https://discourse.psychopy.org/u/itsdfish)\
**Post date:** [March 11, 2025, 12:18pm UTC](https://discourse.psychopy.org/t/add-white-noise-to-entire-screen/43483/3 "2025-03-11T12:18:03Z")

</div>

@wakecarter, thank you for your reply. I am sorry for the late response. Due to the notification settings, I did not know that you replied to my post.

I looked through your examples. The main problem I am having is adding noise to both the image and the grey area outside of the image. Do you know of a way to accomplish that?

Thank you!

---

<div class="post-metadata">

**Author:** ![bianhaan](https://avatars.discourse-cdn.com/v4/letter/b/67e7ee/32.png) [@bianhaan](https://discourse.psychopy.org/u/bianhaan)\
**Post date:** [September 17, 2025, 9:21am UTC](https://discourse.psychopy.org/t/add-white-noise-to-entire-screen/43483/4 "2025-09-17T09:21:23Z")

</div>

Dear @wakecarter,

Apologies for jumping on this thread, but I am trying to create a noise-stimulus in an online experiment. The noise stimulus in the experiment you link here comes pretty close to what I am trying to do. Could you perhaps add a link to the repository to allow me to clone/download your experiment so that I can see how you are creating these noise stimuli?

Best wishes,

Bianca

---

<div class="post-metadata">

**Author:** ![wakecarter](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.psychopy.org/wakecarter/32/5753_2.png) [@wakecarter](https://discourse.psychopy.org/u/wakecarter)\
**Post date:** [September 17, 2025, 11:18am UTC](https://discourse.psychopy.org/t/add-white-noise-to-entire-screen/43483/5 "2025-09-17T11:18:31Z")

</div>

I’ve changed [Wakefield Morys-Carter / etemp · GitLab](https://gitlab.pavlovia.org/Wake/etemp) to public
