# Modifying a Sketch Startup Routine - different background

**URL:** <https://discourse.processing.org/t/modifying-a-sketch-startup-routine-different-background/41649>\
**Category:** Processing for Pi\
**Created:** [April 8, 2023, 6:10am UTC](https://discourse.processing.org/t/modifying-a-sketch-startup-routine-different-background/41649 "2023-04-08T06:10:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hooeef](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/hooeef/32/11239_2.png) [@hooeef](https://discourse.processing.org/u/hooeef)\
**Post date:** [April 8, 2023, 6:10am UTC](https://discourse.processing.org/t/modifying-a-sketch-startup-routine-different-background/41649/1 "2023-04-08T06:10:43Z")

</div>

This question was posted by stmacarelli in the [Processing Forum](https://forum.processing.org/two/discussion/12429/what-s-a-processing-sketch-s-startup-routine) and now I am running into the same issue. When a processing sketch starts, it will show a grey blank screen. How can I change it to say see a black background instead?

Please note this is when a sketch starts, it cannot be solved with background() in setup within a sketch.

Many thanks…

---

<div class="post-metadata">

**Author:** ![quark](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/quark/32/26_2.png) [@quark](https://discourse.processing.org/u/quark)\
**Post date:** [April 8, 2023, 4:38pm UTC](https://discourse.processing.org/t/modifying-a-sketch-startup-routine-different-background/41649/2 "2023-04-08T16:38:42Z")

</div>

If I run the following sketch it starts with a red background, not a hint of grey anywhere.

```auto
void setup(){
  size(300,300);
  background(0);
}

```

So I am puzzled to know where the grey screen comes from.

Using Processing 4.2.0

---

<div class="post-metadata">

**Author:** ![hooeef](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/hooeef/32/11239_2.png) [@hooeef](https://discourse.processing.org/u/hooeef)\
**Post date:** [April 9, 2023, 2:36am UTC](https://discourse.processing.org/t/modifying-a-sketch-startup-routine-different-background/41649/3 "2023-04-09T02:36:23Z")

</div>

You are right … that does the trick for Processing. Works when I run a sketch on my laptop. Just discovered that the issue I have is with Processing on a Raspberry Pi and figured out is the LCD panel that gives me grief. The panel shows gray until the sketch is executing.
