# Building a tape spaghetti simulation

**URL:** <https://discourse.processing.org/t/building-a-tape-spaghetti-simulation/45461>\
**Category:** Coding Questions\
**Created:** [December 14, 2024, 1:06pm UTC](https://discourse.processing.org/t/building-a-tape-spaghetti-simulation/45461 "2024-12-14T13:06:46Z")\
**Posts on this page:** 1\
**Showing post:** 9

<div class="post-metadata">

**Author:** ![eightohnine](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/eightohnine/32/19793_2.png) [@eightohnine](https://discourse.processing.org/u/eightohnine)\
**Post date:** [December 14, 2024, 10:34pm UTC](https://discourse.processing.org/t/building-a-tape-spaghetti-simulation/45461/9 "2024-12-14T22:34:59Z")

</div>

So many good tips, thanks! A lot to investigate.

As a side-note, I also just remembered this recent post:

> [@Why is square(x, y, 1) so much faster than point(x, y)?](https://discourse.processing.org/t/why-is-square-x-y-1-so-much-faster-than-point-x-y/45448/5):
>
> Thanks for clearing some things up. There is also a related discussion here:

I tested it out and replaced every point() in my sketch with rect(). At 35k particles (not drawing any connector lines) it does indeed result in a slight improvement, 14 vs 10 fps.

---

_[View the full topic](https://discourse.processing.org/t/building-a-tape-spaghetti-simulation/45461)._
