# My beginner Number-growing code stopped working?

**URL:** <https://discourse.processing.org/t/my-beginner-number-growing-code-stopped-working/49033>\
**Category:** Coding Questions\
**Created:** [July 22, 2026, 3:23am UTC](https://discourse.processing.org/t/my-beginner-number-growing-code-stopped-working/49033 "2026-07-22T03:23:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![sohelpme](https://avatars.discourse-cdn.com/v4/letter/s/f08c70/32.png) [@sohelpme](https://discourse.processing.org/u/sohelpme)\
**Post date:** [July 22, 2026, 3:23am UTC](https://discourse.processing.org/t/my-beginner-number-growing-code-stopped-working/49033/1 "2026-07-22T03:23:22Z")

</div>

hello guys, i had an artistic sketch i made that suddenly, (or around half a year ago) stopped working, and a bunch of errors that never happened are there.  
and here is one where it works fine  
[p5.js Web Editor | Numbers0 copy](https://editor.p5js.org/akline/sketches/L0_-H1SO7)  
But a bunch of other ones just do not work and i dont know why, like this

[p5.js Web Editor | Supernumber](https://editor.p5js.org/akline/sketches/6h7K0W_s6)

can someone help

---

<div class="post-metadata">

**Author:** ![davepagurek](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/davepagurek/32/17535_2.png) [@davepagurek](https://discourse.processing.org/u/davepagurek)\
**Post date:** [July 22, 2026, 4:19am UTC](https://discourse.processing.org/t/my-beginner-number-growing-code-stopped-working/49033/2 "2026-07-22T04:19:21Z")

</div>

What errors are you seeing? Are they possibly the same as in [Error: Multiple infinite loops detected. Stopping execution. at undefined:2:33088 \_ how do I resolve this?](https://discourse.processing.org/t/error-multiple-infinite-loops-detected-stopping-execution-at-undefined33088-how-do-i-resolve-this/48974) (which would have the same fixes?)

---

<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:** [July 22, 2026, 2:47pm UTC](https://discourse.processing.org/t/my-beginner-number-growing-code-stopped-working/49033/3 "2026-07-22T14:47:10Z")

</div>

In the **Supernumber** sketch you have two `setup` methods, two `draw` methods and two `halftone` methods. You also have a call to the method `halftone` (line 26) which is not within another method so is likely to be executed before setup is executed although I have not tested that myself.  
😀

---

<div class="post-metadata">

**Author:** ![sohelpme](https://avatars.discourse-cdn.com/v4/letter/s/f08c70/32.png) [@sohelpme](https://discourse.processing.org/u/sohelpme)\
**Post date:** [July 23, 2026, 3:22am UTC](https://discourse.processing.org/t/my-beginner-number-growing-code-stopped-working/49033/4 "2026-07-23T03:22:44Z")

</div>

It’s weird, i actually did try disabling the loop protection but when i tried to switch it off, it didn’t move, so I just left it and asked here.
